Skip to content

Commit

Permalink
skip fallback tests when approprite
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jan 7, 2025
1 parent 14c2a33 commit 5f1c94d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/shellcompletion/test_fish.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def test_settings_pass_through(self): ...
@pytest.mark.skip(reason="fish does not support script installations")
def test_pythonpath_pass_through(self): ...

@pytest.mark.skip(reason="fish does not support script installations")
def test_fallback(self): ...


@pytest.mark.skipif(shutil.which("fish") is None, reason="Fish not available")
class FishExeShellTests(_FishMixin, _InstalledScriptCompleteTestCase, TestCase):
Expand Down
3 changes: 3 additions & 0 deletions tests/shellcompletion/test_powershell.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def test_settings_pass_through(self): ...
@pytest.mark.skip(reason="powershell does not support script installations")
def test_pythonpath_pass_through(self): ...

@pytest.mark.skip(reason="powershell does not support script installations")
def test_fallback(self): ...


@pytest.mark.skipif(
shutil.which("powershell") is None, reason="Powershell not available"
Expand Down

0 comments on commit 5f1c94d

Please sign in to comment.