Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compares timestamps with assertAlmostEqual (#1262)
* Compares timestamps with assertAlmostEqual The test_get_backup test has been flaking due to doing equality comparisons on timestamps before and after database transactions. These comparisons have been changed to ensuring the timestamps are within a certain threshold (currently 5 seconds). Fixes #1255 Signed-off-by: Colin Schoen <[email protected]> * Add additional datetime string formatting constants Signed-off-by: Colin Schoen <[email protected]> * Use new response_json local variable. Signed-off-by: Colin Schoen <[email protected]> * Fix typo in spelling datetime incorrectly Signed-off-by: Colin Schoen <[email protected]> * Use dateutil parser instead of datetime library Signed-off-by: Colin Schoen <[email protected]>
- Loading branch information