Skip to content

Commit

Permalink
Fix unit tests to deal with skipped devices
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Jan 10, 2025
1 parent ff37128 commit 90ed0ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit_tests/hyperion/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@

@pytest.fixture(scope="session")
def i03_device_factories():
return [f for f in collect_factories(i03).values() if hasattr(f, "cache_clear")]
return [
f
for f in collect_factories(i03, include_skipped=True).values()
if hasattr(f, "cache_clear")
]


@pytest.fixture(scope="function", autouse=True)
Expand Down

0 comments on commit 90ed0ea

Please sign in to comment.