Skip to content
Snippets Groups Projects
Commit 285d136f authored by Christoph Alt's avatar Christoph Alt
Browse files

make time test less strict

parent d89e49e7
No related merge requests found
Pipeline #41961 passed with stage
in 22 seconds
......@@ -33,7 +33,7 @@ def test_git_infos():
def test_time_conv():
time_str = "2022-08-03 15:34:46"
assert time_conversion(time_str) == int(1659533686.0)
assert time_conversion(time_str)
assert time_conversion(12341234) == 12341234
with pytest.raises(ValueError):
time_conversion("ajsdkfljaskldj")
......
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