Exemplo n.º 1
0
def test_timerange2(entry, refutcdate, result):
    with on_time(refutcdate, "UTC"):
        assert vs.Timerange.compute_range(entry) == vs.ComputedTimerange(*result)
Exemplo n.º 2
0
def test_timerange(entry, result):
    with on_time("2019-09-05 16:50", "UTC"):
        assert vs.Timerange.compute_range(entry) == vs.ComputedTimerange(*result)