MCPcopy Create free account
hub / github.com/awsdocs/aws-doc-sdk-examples / stub_create_queue

Method stub_create_queue

python/test_tools/sqs_stubber.py:37–42  ·  view source on GitHub ↗
(self, name, attributes, url, error_code=None)

Source from the content-addressed store, hash-verified

35 super().__init__(client, use_stubs)
36
37 def stub_create_queue(self, name, attributes, url, error_code=None):
38 expected_params = {"QueueName": name, "Attributes": attributes}
39 response = {"QueueUrl": url}
40 self._stub_bifurcator(
41 "create_queue", expected_params, response, error_code=error_code
42 )
43
44 def stub_get_queue_attributes(self, url, arn, error_code=None):
45 expected_params = {"AttributeNames": ["All"], "QueueUrl": url}

Callers 7

test_create_fifo_queueFunction · 0.80
test_get_queueFunction · 0.80
test_get_queuesFunction · 0.80
test_get_queues_prefixFunction · 0.80
test_remove_queueFunction · 0.80

Calls 1

_stub_bifurcatorMethod · 0.80

Tested by 7

test_create_fifo_queueFunction · 0.64
test_get_queueFunction · 0.64
test_get_queuesFunction · 0.64
test_get_queues_prefixFunction · 0.64
test_remove_queueFunction · 0.64