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

10 lines
268 B
Python
Raw Normal View History

import subprocess
def test_bash_completion_runs_without_error():
subprocess.check_call('borgmatic --bash-completion | bash', shell=True)
2023-05-04 22:27:00 +02:00
def test_fish_completion_runs_without_error():
subprocess.check_call('borgmatic --fish-completion | fish', shell=True)