From 12b74b419b0aa3beb80058d579b41c402567954d Mon Sep 17 00:00:00 2001 From: DasSkelett Date: Mon, 1 Apr 2024 21:00:52 +0000 Subject: [PATCH] Run black --- wgkex/worker/mqtt_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wgkex/worker/mqtt_test.py b/wgkex/worker/mqtt_test.py index 314a48d..1bf76b1 100644 --- a/wgkex/worker/mqtt_test.py +++ b/wgkex/worker/mqtt_test.py @@ -133,7 +133,9 @@ def test_publish_metrics_loop_success(self, conn_peers_mock, config_mock): @mock.patch.object(mqtt, "get_connected_peers_count") def test_publish_metrics_NetlinkDumpInterrupted(self, conn_peers_mock, config_mock): config_mock.return_value = _get_config_mock() - conn_peers_mock.side_effect = pyroute2.netlink.exceptions.NetlinkDumpInterrupted() + conn_peers_mock.side_effect = ( + pyroute2.netlink.exceptions.NetlinkDumpInterrupted() + ) mqtt_client = mock.MagicMock(spec=paho.mqtt.client.Client) domain = mqtt.get_config().domains[0]