mirror of
https://github.com/meshtastic/python.git
synced 2026-09-16 15:34:15 -04:00
re-fix pylint
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -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