Пример #1
0
def test_format_minutes():
    assert '02:00' == format_minutes(120)
Пример #2
0
def test_format_minutes_3():
    assert '00:15' == format_minutes(15)
Пример #3
0
def test_format_minutes_decimal():
    assert '00:15' == format_minutes(Decimal(15.3))
Пример #4
0
def test_format_minutes_2():
    assert '01:15' == format_minutes(75)