()
| 110 | |
| 111 | |
| 112 | def test_get_uptime_ignores_operational_error() -> None: |
| 113 | cur = MagicMock() |
| 114 | cur.execute.side_effect = pymysql.err.OperationalError() |
| 115 | |
| 116 | assert get_uptime(cur) == 0 |
| 117 | |
| 118 | |
| 119 | def test_get_warning_count_returns_value_from_count_row() -> None: |
nothing calls this directly
no test coverage detected