This commit is contained in:
Steve Pulec 2013-03-05 08:35:18 -05:00
commit e993917d4c
57 changed files with 53 additions and 71 deletions

View file

@ -4,5 +4,7 @@ from moto import mock_ec2
@mock_ec2
def test_not_implemented_method():
requests.post.when.called_with("https://ec2.us-east-1.amazonaws.com/",
data={'Action': ['foobar']}).should.throw(NotImplementedError)
requests.post.when.called_with(
"https://ec2.us-east-1.amazonaws.com/",
data={'Action': ['foobar']}
).should.throw(NotImplementedError)