diff options
author | 2011-11-14 00:29:46 +0100 | |
---|---|---|
committer | 2011-11-14 00:29:46 +0100 | |
commit | 61dabfbe621a5a9a0d098ea4b4001833dd7573e2 (patch) | |
tree | aa9b25dd34674dabaf0a9e717ade84f5e7b129ba /github3/tests | |
parent | Added handler base test (diff) | |
download | python-github3-61dabfbe621a5a9a0d098ea4b4001833dd7573e2.tar.xz python-github3-61dabfbe621a5a9a0d098ea4b4001833dd7573e2.zip |
Fix converter bug
Diffstat (limited to 'github3/tests')
-rw-r--r-- | github3/tests/converters_test.py | 6 |
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, }, } |