test ec2 not implemented
This commit is contained in:
parent
43591249ae
commit
156c9ba4c4
1 changed files with 8 additions and 0 deletions
8
tests/test_ec2/test_ec2_core.py
Normal file
8
tests/test_ec2/test_ec2_core.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
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