Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Apr 1, 2024
1 parent 107dc7c commit 12b74b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wgkex/worker/mqtt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 12b74b4

Please sign in to comment.