MCPcopy Index your code
hub / github.com/aws/aws-cli / test_main

Method test_main

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

Source from the content-addressed store, hash-verified

41 return self.get_task(CopyObjectTask, main_kwargs=default_kwargs)
42
43 def test_main(self):
44 self.stubber.add_response(
45 'copy_object',
46 service_response={},
47 expected_params={
48 'Bucket': self.bucket,
49 'Key': self.key,
50 'CopySource': self.copy_source,
51 },
52 )
53 task = self.get_copy_task()
54 task()
55
56 self.stubber.assert_no_pending_responses()
57
58 def test_extra_args(self):
59 self.extra_args['ACL'] = 'private'

Callers

nothing calls this directly

Calls 3

get_copy_taskMethod · 0.95
add_responseMethod · 0.45

Tested by

no test coverage detected