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
commitf2621414ee5f2f601424c22f00e207903e3b6104 (patch)
tree56a856dafd1ca684bb23263cacaa723ee4f404fc /test/t/test_7z.py
parentAdding debian version 1:2.11-8. (diff)
downloadbash-completion-f2621414ee5f2f601424c22f00e207903e3b6104.tar.xz
bash-completion-f2621414ee5f2f601424c22f00e207903e3b6104.zip
Merging upstream version 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):