borgmatic/tests/end-to-end/test_completion.py
2023-05-04 13:27:00 -07:00

9 lines
268 B
Python

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