mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
Merge pull request #9294 from ai-man-codes/cleanup/remove-deprecated-test-code
testsuite: remove deprecated manual cleanup in create_cmd_test
This commit is contained in:
commit
b1e2c29002
1 changed files with 0 additions and 13 deletions
|
|
@ -962,10 +962,6 @@ def test_create_big_zeros_files(archivers, request):
|
|||
# Also verify the directory structure matches
|
||||
assert_dirs_equal(archiver.input_path, os.path.join(extract_path, "input"))
|
||||
|
||||
# Remove input files
|
||||
for i in range(count):
|
||||
os.unlink(os.path.join(archiver.input_path, f"zeros_{i}"))
|
||||
|
||||
|
||||
def test_create_big_random_files(archivers, request):
|
||||
"""Test creating an archive from 10 files with 10MB random data each."""
|
||||
|
|
@ -998,10 +994,6 @@ def test_create_big_random_files(archivers, request):
|
|||
# Also verify the directory structure matches
|
||||
assert_dirs_equal(archiver.input_path, os.path.join(extract_path, "input"))
|
||||
|
||||
# Remove input files
|
||||
for i in range(count):
|
||||
os.unlink(os.path.join(archiver.input_path, f"random_{i}"))
|
||||
|
||||
|
||||
def test_create_with_compression_algorithms(archivers, request):
|
||||
"""Test creating archives with different compression algorithms."""
|
||||
|
|
@ -1064,11 +1056,6 @@ def test_create_with_compression_algorithms(archivers, request):
|
|||
# Also verify the directory structure matches
|
||||
assert_dirs_equal(archiver.input_path, os.path.join(extract_path, "input"))
|
||||
|
||||
# Remove input files
|
||||
for i in range(count):
|
||||
os.unlink(os.path.join(archiver.input_path, f"zeros_{i}"))
|
||||
os.unlink(os.path.join(archiver.input_path, f"random_{i}"))
|
||||
|
||||
|
||||
def test_exclude_nodump_dir_with_file(archivers, request):
|
||||
"""A directory flagged NODUMP and its contents must not be archived."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue