Skip to content
Snippets Groups Projects
Commit a046c283 authored by Marek Vrbka's avatar Marek Vrbka
Browse files

fixed param handling

parent 6ac22aee
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def emtest_session() -> EmTest:
@pytest.fixture
def emtest(request: pytest.FixtureRequest, emtest_session: EmTest) -> EmTest:
if request.param and request.param is bool:
if hasattr(request, "param") and isinstance(request.param, bool):
emtest_session.multiplexer.inverted = request.param
emtest_session.setup_method("empty")
return emtest_session
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment