MCPcopy
hub / github.com/aws/aws-cli / test_extra_args

Method test_extra_args

tests/unit/s3transfer/test_copies.py:58–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 self.stubber.assert_no_pending_responses()
57
58 def test_extra_args(self):
59 self.extra_args['ACL'] = 'private'
60 self.stubber.add_response(
61 'copy_object',
62 service_response={},
63 expected_params={
64 'Bucket': self.bucket,
65 'Key': self.key,
66 'CopySource': self.copy_source,
67 'ACL': 'private',
68 },
69 )
70 task = self.get_copy_task()
71 task()
72
73 self.stubber.assert_no_pending_responses()
74
75 def test_callbacks_invoked(self):
76 subscriber = RecordingSubscriber()

Callers

nothing calls this directly

Calls 3

get_copy_taskMethod · 0.95
add_responseMethod · 0.45

Tested by

no test coverage detected