Skip to content

Commit

Permalink
properly mark skipped test using pytest.skip
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Mar 16, 2024
1 parent 9adc9ed commit 223d9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def cli_command(request) -> str:
@pytest.fixture(scope="module")
def autocomplete_installed(env, homedir, bashrc, cli_version, cli_command, is_running_on_docker):
if is_running_on_docker:
return
pytest.skip('Not supported on Docker')

shell = pexpect.spawn(
f'bash -i -c "{cli_command} install-autocomplete"', env=env, logfile=sys.stderr.buffer
Expand Down

0 comments on commit 223d9c9

Please sign in to comment.