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