From 37a9c5dd5d5d693b177b263c40624b671baee045 Mon Sep 17 00:00:00 2001 From: David Medina Date: Sat, 18 Feb 2012 12:07:52 +0100 Subject: Support to resources-self-nested into collections --- pygithub3/tests/utils/resources.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pygithub3/tests/utils') 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', } -- cgit v1.2.3-59-g8ed1b