borgmatic/tests/end-to-end/test_completion.py

5 lines
146 B
Python

import subprocess
def test_bash_completion_runs_without_error():
subprocess.check_call('eval "$(borgmatic --bash-completion)"', shell=True)