MCPcopy Create free account
hub / github.com/aws/aws-cli / setUp

Method setUp

tests/functional/test_timeformat.py:23–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21
22class TestCLITimestampParser(BaseCLIWireResponseTest):
23 def setUp(self):
24 super(TestCLITimestampParser, self).setUp()
25 self.files = FileCreator()
26 self.wire_response = json.dumps(
27 {
28 'builds': [
29 {
30 'startTime': 0,
31 }
32 ]
33 }
34 ).encode('utf-8')
35 self.command = ['codebuild', 'batch-get-builds', '--ids', 'foo']
36 self.patch_send(content=self.wire_response)
37
38 def tearDown(self):
39 super(TestCLITimestampParser, self).tearDown()

Callers

nothing calls this directly

Calls 3

FileCreatorClass · 0.90
patch_sendMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected