Fix broken Bash completion end-to-end test.
This commit is contained in:
parent
77b84f8a48
commit
cb5fe02ebd
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
apk add --no-cache python3 py3-pip borgbackup postgresql-client mariadb-client mongodb-tools \
|
apk add --no-cache python3 py3-pip borgbackup postgresql-client mariadb-client mongodb-tools \
|
||||||
py3-ruamel.yaml py3-ruamel.yaml.clib
|
py3-ruamel.yaml py3-ruamel.yaml.clib bash
|
||||||
# If certain dependencies of black are available in this version of Alpine, install them.
|
# If certain dependencies of black are available in this version of Alpine, install them.
|
||||||
apk add --no-cache py3-typed-ast py3-regex || true
|
apk add --no-cache py3-typed-ast py3-regex || true
|
||||||
python3 -m pip install --no-cache --upgrade pip==22.0.3 setuptools==60.8.1
|
python3 -m pip install --no-cache --upgrade pip==22.0.3 setuptools==60.8.1
|
||||||
|
|
|
@ -2,4 +2,4 @@ import subprocess
|
||||||
|
|
||||||
|
|
||||||
def test_bash_completion_runs_without_error():
|
def test_bash_completion_runs_without_error():
|
||||||
subprocess.check_call('eval "$(borgmatic --bash-completion)"', shell=True)
|
subprocess.check_call('borgmatic --bash-completion | bash', shell=True)
|
||||||
|
|
Loading…
Reference in a new issue