Skip to content

Commit

Permalink
Avoid printing exception when exiting tests command
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk committed May 24, 2022
1 parent 64689d6 commit 78b6bc4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dev/breeze/src/airflow_breeze/commands/testing_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,5 @@ def tests(
perform_environment_checks(verbose=verbose)
cmd = ['docker-compose', 'run', '--service-ports', '--rm', 'airflow']
cmd.extend(list(extra_pytest_args))
run_command(
cmd,
verbose=verbose,
dry_run=dry_run,
env=env_variables,
)
result = run_command(cmd, verbose=verbose, dry_run=dry_run, env=env_variables, check=False)
sys.exit(result.returncode)

0 comments on commit 78b6bc4

Please sign in to comment.