From 6f6c4b863f3fb9e274d569510d9179ace856c462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Sat, 13 Jan 2024 13:04:53 +0100 Subject: [PATCH] Linting --- tests/exporter_test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/exporter_test.py b/tests/exporter_test.py index ab54458..ec573de 100644 --- a/tests/exporter_test.py +++ b/tests/exporter_test.py @@ -64,7 +64,9 @@ def test_collect_gauge(self): self.assertIsInstance(result, GaugeMetricFamily) self.assertEqual(result.name, "test_gauge") self.assertEqual(result.documentation, "Test Gauge") - self.assertEqual(result.samples[0].labels, {"label1": "value1", "server": "localhost:8080"}) + self.assertEqual( + result.samples[0].labels, {"label1": "value1", "server": "localhost:8080"} + ) self.assertEqual(result.samples[0].value, 10) def test_collect_counter(self): @@ -82,7 +84,9 @@ def test_collect_counter(self): self.assertIsInstance(result, CounterMetricFamily) self.assertEqual(result.name, "test_counter") self.assertEqual(result.documentation, "Test Counter") - self.assertEqual(result.samples[0].labels, {"label2": "value2", "server": "localhost:8080"}) + self.assertEqual( + result.samples[0].labels, {"label2": "value2", "server": "localhost:8080"} + ) self.assertEqual(result.samples[0].value, 230) def test_get_qbittorrent_metrics(self):