summaryrefslogtreecommitdiff
path: root/test/t/test_locale_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_locale_gen.py')
-rw-r--r--test/t/test_locale_gen.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/t/test_locale_gen.py b/test/t/test_locale_gen.py
index 41ac376f..caffb067 100644
--- a/test/t/test_locale_gen.py
+++ b/test/t/test_locale_gen.py
@@ -3,10 +3,11 @@ import pytest
@pytest.mark.bashcomp(cmd="locale-gen")
class TestLocaleGen:
- @pytest.mark.complete("locale-gen ")
+ # require_cmd is not strictly true here, but...
+ @pytest.mark.complete("locale-gen ", require_cmd=True)
def test_1(self, completion):
assert completion
- @pytest.mark.complete("locale-gen --")
+ @pytest.mark.complete("locale-gen --", require_longopt=True)
def test_2(self, completion):
assert completion