Index: third_party/gsutil/third_party/boto/tests/unit/elasticache/test_api_interface.py |
diff --git a/third_party/gsutil/third_party/boto/tests/unit/elasticache/test_api_interface.py b/third_party/gsutil/third_party/boto/tests/unit/elasticache/test_api_interface.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..367c317a1e6798d7c4acdebf1e4246a12560359b |
--- /dev/null |
+++ b/third_party/gsutil/third_party/boto/tests/unit/elasticache/test_api_interface.py |
@@ -0,0 +1,20 @@ |
+from boto.elasticache.layer1 import ElastiCacheConnection |
+from tests.unit import AWSMockServiceTestCase |
+ |
+ |
+class TestAPIInterface(AWSMockServiceTestCase): |
+ connection_class = ElastiCacheConnection |
+ |
+ def test_required_launch_params(self): |
+ """ Make sure only the AWS required params are required by boto """ |
+ name = 'test_cache_cluster' |
+ self.set_http_response(status_code=200, body=b'{}') |
+ self.service_connection.create_cache_cluster(name) |
+ |
+ self.assert_request_parameters({ |
+ 'Action': 'CreateCacheCluster', |
+ 'CacheClusterId': name, |
+ }, ignore_params_values=[ |
+ 'Version', |
+ 'ContentType', |
+ ]) |