MCPcopy
hub / github.com/donnemartin/saws / test_query_aws_bucket_names

Method test_query_aws_bucket_names

tests/test_resources.py:106–113  ·  view source on GitHub ↗
(self, mock_subprocess)

Source from the content-addressed store, hash-verified

104 @unittest.skip('')
105 @mock.patch('saws.resources.subprocess')
106 def test_query_aws_bucket_names(self, mock_subprocess):
107 bucket_names = self.resources.resource_lists[
108 self.resources.ResourceType.BUCKET_NAMES.value]
109 bucket_names._query_aws(bucket_names.QUERY)
110 mock_subprocess.check_output.assert_called_with(
111 bucket_names.QUERY,
112 universal_newlines=True,
113 shell=True)
114
115 def test_add_and_clear_bucket_name(self):
116 BUCKET_NAME = 'test_bucket_name'

Callers

nothing calls this directly

Calls 1

_query_awsMethod · 0.80

Tested by

no test coverage detected