(self)
| 70 | self.assertEqual(expected_time, start_time) |
| 71 | |
| 72 | def test_default(self): |
| 73 | self.driver = create_clidriver() |
| 74 | self.entry_point = AWSCLIEntryPoint(self.driver) |
| 75 | expected_time = ( |
| 76 | datetime.datetime.fromtimestamp(0) |
| 77 | .replace(tzinfo=tzlocal()) |
| 78 | .isoformat() |
| 79 | ) |
| 80 | |
| 81 | stdout, _, _ = self.run_cmd(self.command) |
| 82 | json_response = json.loads(stdout) |
| 83 | start_time = json_response["builds"][0]["startTime"] |
| 84 | self.assertEqual(expected_time, start_time) |
nothing calls this directly
no test coverage detected