diff options
author | 2012-02-18 12:07:52 +0100 | |
---|---|---|
committer | 2012-02-18 12:07:52 +0100 | |
commit | 37a9c5dd5d5d693b177b263c40624b671baee045 (patch) | |
tree | 7c146bdff5913389d58e6f07175fbcf55d3e25a3 /pygithub3/tests/utils/resources.py | |
parent | Small refactor to building requests in services (diff) | |
download | python-github3-37a9c5dd5d5d693b177b263c40624b671baee045.tar.xz python-github3-37a9c5dd5d5d693b177b263c40624b671baee045.zip |
Support to resources-self-nested into collections
Diffstat (limited to 'pygithub3/tests/utils/resources.py')
-rw-r--r-- | pygithub3/tests/utils/resources.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pygithub3/tests/utils/resources.py b/pygithub3/tests/utils/resources.py index e03d47d..46a9d53 100644 --- a/pygithub3/tests/utils/resources.py +++ b/pygithub3/tests/utils/resources.py @@ -17,5 +17,7 @@ class Nested(Resource): _maps = {'simple': Simple, 'self_nested': 'self'} _collection_maps = { 'list_collection': HasSimple, - 'items_collections': HasSimple + 'items_collections': HasSimple, + 'self_nested_list': 'self', + 'self_nested_dict': 'self', } |