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

6 lines
143 B
Python
Raw Normal View History

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