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

Method setUp

tests/unit/s3transfer/test_download.py:111–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109
110class BaseDownloadOutputManagerTest(BaseTaskTest):
111 def setUp(self):
112 super().setUp()
113 self.osutil = OSUtils()
114
115 # Create a file to write to
116 self.tempdir = tempfile.mkdtemp()
117 self.filename = os.path.join(self.tempdir, 'myfile')
118
119 self.call_args = CallArgs(fileobj=self.filename)
120 self.future = self.get_transfer_future(self.call_args)
121 self.io_executor = BoundedExecutor(1000, 1)
122
123 def tearDown(self):
124 super().tearDown()

Callers

nothing calls this directly

Calls 5

OSUtilsClass · 0.90
CallArgsClass · 0.90
BoundedExecutorClass · 0.90
setUpMethod · 0.45
get_transfer_futureMethod · 0.45

Tested by

no test coverage detected