diff --git a/tests/unit_tests/test_espota2.py b/tests/unit_tests/test_espota2.py index 19b4d85b99..7d6f629195 100644 --- a/tests/unit_tests/test_espota2.py +++ b/tests/unit_tests/test_espota2.py @@ -835,5 +835,5 @@ def test_perform_ota_successful_partition_table( # Verify ota type was sent assert mock_socket.sendall.call_args_list[2] == call( - bytes(espota2.OTA_TYPE_UPDATE_PARTITION_TABLE) + bytes([espota2.OTA_TYPE_UPDATE_PARTITION_TABLE]) )