Implement Owner.get_repo as an ObjectGetter

This commit is contained in:
Vincent Jacques
2012-02-20 17:31:24 +01:00
parent 18a2ef50b3
commit 12e7ee9e28
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ class GithubObjectWithObjectGetter( TestCaseWithGithubTestObject ):
"GithubTestObject",
BaseUrl( lambda obj: "/test" ),
BasicAttributes( "a1", "a2" ),
ObjectGetter( "a3", ContainedObject, lambda id : { "id": id } )
ObjectGetter( "a3", ContainedObject, lambda obj, id : { "id": id } )
)
def testGetList( self ):