moto/tests/test_ec2/test_ec2_core.py

12 lines
289 B
Python
Raw Normal View History

from __future__ import unicode_literals
2013-02-25 23:29:15 -05:00
import requests
from moto import mock_ec2
@mock_ec2
def test_not_implemented_method():
2013-03-05 08:35:18 -05:00
requests.post.when.called_with(
"https://ec2.us-east-1.amazonaws.com/",
data={'Action': ['foobar']}
).should.throw(NotImplementedError)