From daa558744370ad176f363bcce1dfc9f687f5ff2c Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Sat, 23 Mar 2024 22:17:49 -0700 Subject: [PATCH] re-fix pylint --- meshtastic/tests/test_main.py | 4 +--- meshtastic/tests/test_tunnel.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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