formatting!
This commit is contained in:
parent
614c1bf2e4
commit
66964f613c
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ def test_has_exact_options_detects_exact_options(action: Action, option_type: Op
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('action, option_type', test_data)
|
@pytest.mark.parametrize('action, option_type', test_data)
|
||||||
def test_exact_options_completion_produces_reasonable_completions(action: Action, option_type: OptionType):
|
def test_exact_options_completion_produces_reasonable_completions(
|
||||||
|
action: Action, option_type: OptionType
|
||||||
|
):
|
||||||
completion = module.exact_options_completion(action)
|
completion = module.exact_options_completion(action)
|
||||||
if True in option_type:
|
if True in option_type:
|
||||||
assert completion.startswith('\ncomplete -c borgmatic')
|
assert completion.startswith('\ncomplete -c borgmatic')
|
||||||
|
|
Loading…
Reference in a new issue