Skip to content

Commit

Permalink
Fixes sanity tests (#10)
Browse files Browse the repository at this point in the history
The sanity tests are failing with the following error:

exec /whereabouts version
error: enter: cannot provide -v/--verbose before "exec" subcommand

Pebble was recently updated, no longer allowing exec after --verbose
(which is in the entrypoint).

This fixes the sanity tests by using the --entrypoint docker run
parameter.
  • Loading branch information
claudiubelu authored Jul 17, 2024
1 parent 961365f commit d2cbe77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/sanity/test_whereabouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ def _run_in_docker(image, check_exit_code, *command):
"run",
"--rm",
"-i",
"--entrypoint",
command[0],
image,
"exec",
*command,
*command[1:],
],
check=check_exit_code,
capture_output=True,
Expand Down

0 comments on commit d2cbe77

Please sign in to comment.