Skip to content

Commit daa5587

Browse files
committed
re-fix pylint
1 parent a139d18 commit daa5587

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

meshtastic/tests/test_main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Meshtastic unit tests for __main__.py"""
2-
# pylint: disable=C0302
2+
# pylint: disable=C0302,W0613
33

44
import logging
55
import os
@@ -13,13 +13,11 @@
1313
from meshtastic.__main__ import (
1414
Globals,
1515
export_config,
16-
getPref,
1716
initParser,
1817
main,
1918
onConnection,
2019
onNode,
2120
onReceive,
22-
setPref,
2321
tunnelMain,
2422
)
2523

meshtastic/tests/test_tunnel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_Tunnel_without_interface(mock_platform_system):
3636
mock_platform_system.side_effect = a_mock
3737
with pytest.raises(Tunnel.TunnelError) as pytest_wrapped_e:
3838
Tunnel(None)
39-
assert pytest_wrapped_e.type == Tunnel.TunnelError
39+
assert pytest_wrapped_e.type == Tunnel.TunnelError
4040

4141

4242
@pytest.mark.unitslow

0 commit comments

Comments
 (0)