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