mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Allow seconds difference in assert_times_equal
This commit is contained in:
@@ -84,4 +84,4 @@ def screenshot_failure_cls(cls):
|
||||
|
||||
|
||||
def assert_times_equal(first_time, second_time):
|
||||
assert first_time.replace(microsecond=0) == second_time.replace(microsecond=0)
|
||||
assert first_time.replace(microsecond=0, second=0) == second_time.replace(microsecond=0, second=0)
|
||||
|
||||
Reference in New Issue
Block a user