Skip to content

Commit

Permalink
test: remove --hyprland option from test running
Browse files Browse the repository at this point in the history
  • Loading branch information
loqusion committed Mar 28, 2024
1 parent 8110304 commit 85e7384
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,7 @@ def _shader_path(name: str) -> Path:

def pytest_runtest_setup(item: pytest.Item) -> None:
for marker in item.iter_markers():
if (
marker.name == "requires_hyprland"
and not has_hyprland()
and not item.config.getoption("--hyprland", default=False)
):
if marker.name == "requires_hyprland" and not has_hyprland():
pytest.skip("Not running in hyprland")
elif marker.name == "requires_pystache" and not has_pystache():
pytest.skip("pystache not installed")
Expand Down

0 comments on commit 85e7384

Please sign in to comment.