Get standalone server mode working for all tests.
This commit is contained in:
parent
cb28eeefbb
commit
81836b6981
78 changed files with 957 additions and 783 deletions
|
|
@ -1,11 +1 @@
|
|||
from __future__ import unicode_literals
|
||||
import requests
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue