Beispiel #1
0
def test_yet_another_output():
    assert calc_max_uptime(MAC3) == (24, '2019-12-11')
Beispiel #2
0
def test_different_output():
    assert calc_max_uptime(MAC2) == (22, '2019-09-22')
Beispiel #3
0
def test_default_output():
    assert calc_max_uptime(MAC1) == (30, '2019-02-17')
Beispiel #4
0
def test_yet_another_output():
    assert calc_max_uptime(MAC3) == (24, f'{THIS_YEAR}-12-11')
Beispiel #5
0
def test_different_output():
    assert calc_max_uptime(MAC2) == (22, f'{THIS_YEAR}-09-22')
Beispiel #6
0
def test_default_output():
    assert calc_max_uptime(MAC1) == (30, f'{THIS_YEAR}-02-17')