示例#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')