mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 11:57:57 -05:00
re-fix pylint
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user