def test_reduce_seconds_return_days(): """129476 seconds is 1d11h""" assert reduce_seconds(secs=129476) == '1d11h'
def test_reduce_seconds_return_minutes(): """2064 seconds is 34m24s""" assert reduce_seconds(secs=2064) == '34m24s'
def test_reduce_seconds_return_hours(): """64738 seconds is 17h58m""" assert reduce_seconds(secs=64738) == '17h58m'
def test_reduce_seconds_return_seconds(): """Output as 1s""" assert reduce_seconds(secs=1) == '1s'
def test_reduce_seconds_return_days(): """129476 seconds is 1d11h""" assert reduce_seconds(secs=129476) == '1d11h'
def test_reduce_seconds_return_hours(): """64738 seconds is 17h58m""" assert reduce_seconds(secs=64738) == '17h58m'
def test_reduce_seconds_return_minutes(): """2064 seconds is 34m24s""" assert reduce_seconds(secs=2064) == '34m24s'
def test_reduce_seconds_return_seconds(): """Output as 1s""" assert reduce_seconds(secs=1) == '1s'