From d3b8cdcfdf5879468e624c89534d89472f8cee2c Mon Sep 17 00:00:00 2001 From: Coline Date: Fri, 22 Jul 2022 10:59:24 +0200 Subject: [PATCH] fix: add fixture decorator --- tests/speculos/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/speculos/conftest.py b/tests/speculos/conftest.py index 7e9434f..b10f7a6 100644 --- a/tests/speculos/conftest.py +++ b/tests/speculos/conftest.py @@ -22,6 +22,7 @@ def pytest_addoption(parser): path: str = SCRIPT_DIR.parent.parent / "bin" / "app.elf" parser.addoption("--path", action="store", default=path) +@pytest.fixture() def client(pytestconfig): file_path = pytestconfig.getoption("path") model = pytestconfig.getoption("model")