mirror of
https://github.com/espressif/esp-modbus.git
synced 2025-09-25 22:20:54 +02:00
fix target test issues ut
This commit is contained in:
@@ -5,12 +5,8 @@ import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
CONFIGS = [
|
||||
pytest.param('generic', marks=[pytest.mark.esp32, pytest.mark.esp32s2, pytest.mark.esp32s3, pytest.mark.esp32c3]),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.parametrize('target', ['esp32'], indirect=True)
|
||||
@pytest.mark.parametrize('config', ['generic'], indirect=True)
|
||||
@pytest.mark.multi_dut_modbus_generic
|
||||
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
||||
def test_modbus_controller_common(dut: Dut) -> None:
|
||||
dut.expect_unity_test_output()
|
||||
|
@@ -5,12 +5,8 @@ import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
CONFIGS = [
|
||||
pytest.param('serial', marks=[pytest.mark.esp32, pytest.mark.esp32s2, pytest.mark.esp32s3, pytest.mark.esp32c3]),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.multi_dut_modbus_generic
|
||||
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
||||
@pytest.mark.parametrize('target', ['esp32'], indirect=True)
|
||||
@pytest.mark.parametrize('config', ['serial'], indirect=True)
|
||||
def test_modbus_controller_mapping(dut: Dut) -> None:
|
||||
dut.expect_unity_test_output()
|
||||
|
@@ -4,6 +4,7 @@
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.parametrize('target', ['esp32'], indirect=True)
|
||||
@pytest.mark.multi_dut_modbus_generic
|
||||
def test_mb_endianness_utils(dut: Dut) -> None:
|
||||
|
Reference in New Issue
Block a user