Commit 42dc7178 authored by Jérome Perrin's avatar Jérome Perrin

test_tidrange: also check that reference_tid matches reference_time

parent a37151c9
......@@ -109,3 +109,6 @@ with open(
def test_parse_tid_time_format(fake_time, reference_time, reference_tid,
input_time):
assert reference_tid == ashex(parse_tid(input_time))
# check that the reference_tid matches the reference time, mainly
# to check that input is defined correctly.
assert reference_tid == ashex(parse_tid(reference_time))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment