diff --git a/kedro-docker/features/docker.feature b/kedro-docker/features/docker.feature index 2d54de7f3..f3682fd30 100644 --- a/kedro-docker/features/docker.feature +++ b/kedro-docker/features/docker.feature @@ -100,7 +100,7 @@ Feature: Docker commands in new projects Scenario: Execute docker run target without building image When I execute the kedro command "docker run" - Then I should get an error exit code + Then I should get a successful exit code And Standard output should contain a message including "Error: Unable to find image `project-dummy` locally." Scenario: Execute docker dive target @@ -118,5 +118,5 @@ Feature: Docker commands in new projects Scenario: Execute docker dive without building image When I execute the kedro command "docker dive" - Then I should get an error exit code + Then I should get a successful exit code And Standard output should contain a message including "Error: Unable to find image `project-dummy` locally." diff --git a/kedro-docker/features/steps/cli_steps.py b/kedro-docker/features/steps/cli_steps.py index ca98b4d44..f504c522b 100644 --- a/kedro-docker/features/steps/cli_steps.py +++ b/kedro-docker/features/steps/cli_steps.py @@ -305,7 +305,7 @@ def check_status_code(context): print(context.result.stderr) assert ( False - ), f"Expected exit code {OK_EXIT_CODE} but got {context.result.returncode}" + ), f"Expected exit code /= {OK_EXIT_CODE} but got {context.result.returncode}" @then("I should get an error exit code")