Explicit arguments in ElementGetable

This commit is contained in:
Vincent Jacques
2012-02-26 10:24:37 +00:00
parent 3f72cd0df7
commit f5e9a55ed1
4 changed files with 25 additions and 18 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ class GithubObjectWithElementGetableExternalListOfObjects( TestCaseWithGithubTes
"GithubTestObject",
BaseUrl( lambda obj: "/test" ),
InternalSimpleAttributes( "a1", "a2" ),
ExternalListOfObjects( "a3s", "a3", ContainedObject, ElementGetable( lambda obj, id: { "id": id } ) )
ExternalListOfObjects( "a3s", "a3", ContainedObject, ElementGetable( [ "id" ], [] ) )
)
def testGetList( self ):