We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a139d18 commit daa5587Copy full SHA for daa5587
2 files changed
meshtastic/tests/test_main.py
@@ -1,5 +1,5 @@
1
"""Meshtastic unit tests for __main__.py"""
2
-# pylint: disable=C0302
+# pylint: disable=C0302,W0613
3
4
import logging
5
import os
@@ -13,13 +13,11 @@
13
from meshtastic.__main__ import (
14
Globals,
15
export_config,
16
- getPref,
17
initParser,
18
main,
19
onConnection,
20
onNode,
21
onReceive,
22
- setPref,
23
tunnelMain,
24
)
25
meshtastic/tests/test_tunnel.py
@@ -36,7 +36,7 @@ def test_Tunnel_without_interface(mock_platform_system):
36
mock_platform_system.side_effect = a_mock
37
with pytest.raises(Tunnel.TunnelError) as pytest_wrapped_e:
38
Tunnel(None)
39
- assert pytest_wrapped_e.type == Tunnel.TunnelError
+ assert pytest_wrapped_e.type == Tunnel.TunnelError
40
41
42
@pytest.mark.unitslow
0 commit comments