浏览代码

rename test to make function under test clearer

Isaac 2 年之前
父节点
当前提交
614c1bf2e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/commands/test_completions.py

+ 1 - 1
tests/unit/commands/test_completions.py

@@ -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)
-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)
     if True in option_type:
         assert completion.startswith('\ncomplete -c borgmatic')