소스 검색

test mqtt: disable irrelevant too-many-arguments check

https://github.com/fphammerle/switchbot-mqtt/runs/657641134
Fabian Peter Hammerle 4 년 전
부모
커밋
087dc684f9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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):