Browse Source

test mqtt: disable irrelevant too-many-arguments check

https://github.com/fphammerle/switchbot-mqtt/runs/657641134
Fabian Peter Hammerle 4 years ago
parent
commit
087dc684f9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/test_mqtt.py

+ 1 - 0
tests/test_mqtt.py

@@ -178,6 +178,7 @@ def test__report_state(
     expected_payload: bytes,
     return_code: int,
 ):
+    # pylint: disable=too-many-arguments
     mqtt_client_mock = unittest.mock.MagicMock()
     mqtt_client_mock.publish.return_value.rc = return_code
     with caplog.at_level(logging.WARNING):