MCPcopy Create free account
hub / github.com/dbcli/mycli / test_format_uptime_uses_singular_units

Function test_format_uptime_uses_singular_units

test/pytests/test_special_utils.py:91–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def test_format_uptime_uses_singular_units() -> None:
92 assert format_uptime('90061') == '1 day 1 hour 1 min 1 sec'
93
94
95def test_get_uptime_returns_value_from_status_row() -> None:

Callers

nothing calls this directly

Calls 1

format_uptimeFunction · 0.90

Tested by

no test coverage detected