fix: add skip decorator to TestStartMetricsServer for CI without prometheus_client

This commit is contained in:
Aaron Boxer
2026-04-17 11:55:48 -04:00
committed by Aaron Boxer
parent ced4bdb737
commit 3d63e82571
+1
View File
@@ -100,6 +100,7 @@ class TestTrackError(unittest.TestCase):
self.assertEqual(wl_metrics.ERRORS.labels(type="rest_transcription")._value.get(), before + 1)
@_skip_no_prometheus
class TestStartMetricsServer(unittest.TestCase):
@patch("whisper_live.metrics.start_http_server")
def test_starts_on_given_port(self, mock_start):