From 9b7dffd4a8cb3801395338f666e83ade45dc81bd Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 28 Oct 2022 11:44:59 +0530 Subject: [PATCH 1/2] examples/efuse: Rename the example test name to avoid multiple python files with same name --- .../efuse/{pytest_efuse.py => pytest_system_efuse_example.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/system/efuse/{pytest_efuse.py => pytest_system_efuse_example.py} (100%) diff --git a/examples/system/efuse/pytest_efuse.py b/examples/system/efuse/pytest_system_efuse_example.py similarity index 100% rename from examples/system/efuse/pytest_efuse.py rename to examples/system/efuse/pytest_system_efuse_example.py From 37d44c584652096f51fefd57d09c46f9ba0a405e Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Fri, 28 Oct 2022 13:43:53 +0530 Subject: [PATCH 2/2] examples/efuse: update import path as per pytest 1.0 release --- examples/system/efuse/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/system/efuse/conftest.py b/examples/system/efuse/conftest.py index d334688310..804e5c8ef4 100644 --- a/examples/system/efuse/conftest.py +++ b/examples/system/efuse/conftest.py @@ -96,4 +96,4 @@ def monkeypatch_module(request: FixtureRequest) -> MonkeyPatch: @pytest.fixture(scope='module', autouse=True) def replace_dut_class(monkeypatch_module: MonkeyPatch) -> None: - monkeypatch_module.setattr('pytest_embedded_idf.serial.IdfSerial', EfuseFlashEncSerial) + monkeypatch_module.setattr('pytest_embedded_idf.IdfSerial', EfuseFlashEncSerial)