From 156c9ba4c44d268fa332ef2870c558389473b20b Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Mon, 25 Feb 2013 23:29:15 -0500 Subject: [PATCH] test ec2 not implemented --- tests/test_ec2/test_ec2_core.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/test_ec2/test_ec2_core.py diff --git a/tests/test_ec2/test_ec2_core.py b/tests/test_ec2/test_ec2_core.py new file mode 100644 index 000000000..b698eec79 --- /dev/null +++ b/tests/test_ec2/test_ec2_core.py @@ -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)