diff --git a/meshtastic/tests/test_main.py b/meshtastic/tests/test_main.py index b6de694..626c58a 100644 --- a/meshtastic/tests/test_main.py +++ b/meshtastic/tests/test_main.py @@ -1,5 +1,5 @@ """Meshtastic unit tests for __main__.py""" -# pylint: disable=C0302 +# pylint: disable=C0302,W0613 import logging import os @@ -13,13 +13,11 @@ import pytest from meshtastic.__main__ import ( Globals, export_config, - getPref, initParser, main, onConnection, onNode, onReceive, - setPref, tunnelMain, ) diff --git a/meshtastic/tests/test_tunnel.py b/meshtastic/tests/test_tunnel.py index 1dc5d73..ebfbd05 100644 --- a/meshtastic/tests/test_tunnel.py +++ b/meshtastic/tests/test_tunnel.py @@ -36,7 +36,7 @@ def test_Tunnel_without_interface(mock_platform_system): mock_platform_system.side_effect = a_mock with pytest.raises(Tunnel.TunnelError) as pytest_wrapped_e: Tunnel(None) - assert pytest_wrapped_e.type == Tunnel.TunnelError + assert pytest_wrapped_e.type == Tunnel.TunnelError @pytest.mark.unitslow