Refactor unit-tests

This commit is contained in:
Vincent Jacques
2012-02-22 20:19:10 +00:00
parent b87495734d
commit 48d84d7d23
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -205,7 +205,7 @@ class GithubObjectWithListOfReferences( TestCaseWithGithubTestObject ):
"GithubTestObject",
BaseUrl( lambda obj: "/test" ),
BasicAttributes( "a1", "a2" ),
ListOfReferences( "a3s", ContainedObject, getParameters = [ "type" ] )
ListOfObjects( "a3s", ContainedObject, ListGetable( [], [ "type" ] ) )
)
def testGetList( self ):
@@ -255,7 +255,7 @@ class GithubObjectWithModifiableListOfReferences( TestCaseWithGithubTestObject )
"GithubTestObject",
BaseUrl( lambda obj: "/test" ),
BasicAttributes( "a1", "a2" ),
ListOfReferences( "a3s", ContainedObject, addable = True, removable = True, hasable = True )
ListOfObjects( "a3s", ContainedObject, ListGetable( [], [] ), ElementAddable(), ElementRemovable(), ElementHasable() )
)
def testAddToList( self ):