fix: explicite decorator useless
This commit is contained in:
@@ -22,7 +22,6 @@ def pytest_addoption(parser):
|
|||||||
path: str = SCRIPT_DIR.parent.parent / "bin" / "app.elf"
|
path: str = SCRIPT_DIR.parent.parent / "bin" / "app.elf"
|
||||||
parser.addoption("--path", action="store", default=path)
|
parser.addoption("--path", action="store", default=path)
|
||||||
|
|
||||||
@pytest.fixture()
|
|
||||||
def client(pytestconfig):
|
def client(pytestconfig):
|
||||||
file_path = pytestconfig.getoption("path")
|
file_path = pytestconfig.getoption("path")
|
||||||
model = pytestconfig.getoption("model")
|
model = pytestconfig.getoption("model")
|
||||||
|
|||||||
Reference in New Issue
Block a user