From 223d9c95a522ded2754a392bf01ed8706a0a488b Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Fri, 15 Mar 2024 22:25:06 +0100 Subject: [PATCH] properly mark skipped test using pytest.skip --- test/integration/test_autocomplete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/test_autocomplete.py b/test/integration/test_autocomplete.py index c877943e3..cd8cf73df 100644 --- a/test/integration/test_autocomplete.py +++ b/test/integration/test_autocomplete.py @@ -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