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]