Skip to content

Commit edd3a50

Browse files
committed
Fix test case
1 parent 471b175 commit edd3a50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/borg/testsuite/archiver/extract_cmd_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -723,14 +723,14 @@ def test_extract_continue(archivers, request):
723723
def test_dry_run_extraction_flags(archivers, request):
724724
archiver = request.getfixturevalue(archivers)
725725
cmd(archiver, "repo-create", RK_ENCRYPTION)
726-
create_regular_file(archiver.input_path, "file1.txt", 0)
727-
create_regular_file(archiver.input_path, "file2.txt", 0)
728-
create_regular_file(archiver.input_path, "file3.txt", 0)
726+
create_regular_file(archiver.input_path, "file1", 0)
727+
create_regular_file(archiver.input_path, "file2", 0)
728+
create_regular_file(archiver.input_path, "file3", 0)
729729
cmd(archiver, "create", "test", "input")
730730

731-
output = cmd(archiver, "extract", "--dry-run", "--list", "test", "-e", "input/file3.txt")
731+
output = cmd(archiver, "extract", "--dry-run", "--list", "test", "-e", "input/file3")
732732

733-
expected_output = ["+ input/file1.txt", "+ input/file2.txt", "- input/file3.txt"]
733+
expected_output = ["+ input/file1", "+ input/file2", "- input/file3"]
734734
output_lines = output.splitlines()
735735
for expected in expected_output:
736736
assert expected in output_lines, f"Expected line not found: {expected}"

0 commit comments

Comments
 (0)