aboutsummaryrefslogtreecommitdiffstats
path: root/github3/tests
diff options
context:
space:
mode:
Diffstat (limited to 'github3/tests')
-rw-r--r--github3/tests/converters_test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/github3/tests/converters_test.py b/github3/tests/converters_test.py
index ca1c715..315477c 100644
--- a/github3/tests/converters_test.py
+++ b/github3/tests/converters_test.py
@@ -23,7 +23,8 @@ API_STUB = {
'list_map': [
{'test_str': 'string', 'test_int': 1},
{'test_str': 'string', 'test_int': 2},
- ]
+ ],
+ 'fake_map': 9,
}
@@ -36,10 +37,11 @@ class Model(BaseResource):
'ints': ['test_int'],
'dates': ['test_date'],
'bools': ['test_bool'],
- 'maps': {'map': Model},
+ 'maps': {'map': Model, 'fake_map': Model},
'collection_maps': {
'dict_map': Model,
'list_map': Model,
+ 'fake_map': Model,
},
}