summaryrefslogtreecommitdiffstats
path: root/test/t/test_7z.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:18 +0000
commitf4acb49ea148cdd899f7f29f1591c7bc853c2135 (patch)
treeb62d60873864065d6428a84a119dd8a3c90f1397 /test/t/test_7z.py
parentAdding upstream version 1:2.11. (diff)
downloadbash-completion-f4acb49ea148cdd899f7f29f1591c7bc853c2135.tar.xz
bash-completion-f4acb49ea148cdd899f7f29f1591c7bc853c2135.zip
Adding upstream version 1:2.12.0.upstream/1%2.12.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/t/test_7z.py')
-rw-r--r--test/t/test_7z.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/t/test_7z.py b/test/t/test_7z.py
index d4308d9..67681a5 100644
--- a/test/t/test_7z.py
+++ b/test/t/test_7z.py
@@ -17,7 +17,7 @@ class Test7z:
@pytest.mark.complete("7z x ", cwd="7z")
def test_4(self, completion):
- assert completion == "a.7z"
+ assert completion == "a.7z hello.7z.001".split()
@pytest.mark.complete("7z d a.7z ", cwd="7z", require_cmd=True)
def test_5(self, completion):
@@ -25,7 +25,9 @@ class Test7z:
@pytest.mark.complete("7z a -air@", cwd="7z")
def test_6(self, completion):
- assert completion == sorted("-air@a.7z -air@f.txt".split())
+ assert completion == sorted(
+ "-air@a.7z -air@hello.7z.001 -air@hello.7z.002 -air@f.txt".split()
+ )
@pytest.mark.complete("7z a -o")
def test_7(self, completion):