Asserts that timestamp is exported as string in the correct format.
(self, value)
| 55 | self.assertEqual(isinstance(value, type), True) |
| 56 | |
| 57 | def assertTimestamp(self, value): |
| 58 | """ |
| 59 | Asserts that timestamp is exported as string in the correct format. |
| 60 | """ |
| 61 | |
| 62 | # Timestamps should be exported as strings |
| 63 | self.assertType(value, STRING_TYPE) |
| 64 | # And they should follow the %Y%m%dT%H%M%SZ format |
| 65 | datetime.datetime.strptime(value, DATETIME_FORMAT) |
| 66 | |
| 67 | def assertString(self, value, expected_value=None, regexp=False): |
| 68 | """ |
no test coverage detected