rename test to make function under test clearer
This commit is contained in:
parent
aa770b98f9
commit
614c1bf2e4
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ 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_produce_exact_options_completion(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