Use status requests for DELETE

This commit is contained in:
Vincent Jacques
2012-02-13 21:14:48 +01:00
parent 2f67c50252
commit 66aa372874
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -32,6 +32,7 @@ class TestCaseWithGithubTestObject( unittest.TestCase ):
return self.g.expect._dataRequest( "PATCH", url, data )
def expectDelete( self, url ):
return self.g.expect._statusRequest( "DELETE", url )
return self.g.expect._dataRequest( "DELETE", url )
class GithubObjectWithOnlySimpleScalarAttributes( TestCaseWithGithubTestObject ):