diff options
author | Thomas Feldmann <mail@tfeldmann.de> | 2022-09-05 16:39:56 +0200 |
---|---|---|
committer | Thomas Feldmann <mail@tfeldmann.de> | 2022-09-05 16:39:56 +0200 |
commit | ebfe89e7c0d0d0f1c2e1e2f3b78295c4d5089f89 (patch) | |
tree | b7cdb1d14c9b2faf53c4d1012fa73e83fd663f15 /tests | |
parent | b3bb8e68eb3f6940d254880a54d18bac4bb53f96 (diff) |
remove implicit ordering
Diffstat (limited to 'tests')
-rw-r--r-- | tests/filters/test_duplicate.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/filters/test_duplicate.py b/tests/filters/test_duplicate.py index ee7f75a..985050e 100644 --- a/tests/filters/test_duplicate.py +++ b/tests/filters/test_duplicate.py @@ -5,7 +5,7 @@ from organize import core CONTENT_SMALL = "COPY CONTENT" CONTENT_LARGE = "XYZ" * 300000 -DEEP_DUP_DELETE = """ +CONFIG_DEEP_DUP_DELETE = """ rules: - locations: "." subfolders: true @@ -32,7 +32,7 @@ def test_duplicate_smallfiles(testfs): } make_files(testfs, files) - core.run(DEEP_DUP_DELETE, simulate=False, working_dir=testfs) + core.run(CONFIG_DEEP_DUP_DELETE, simulate=False, working_dir=testfs) result = read_files(testfs) testfs.tree() assert result == { @@ -59,7 +59,7 @@ def test_duplicate_largefiles(testfs): } make_files(testfs, files) - core.run(DEEP_DUP_DELETE, simulate=False, working_dir=testfs) + core.run(CONFIG_DEEP_DUP_DELETE, simulate=False, working_dir=testfs) result = read_files(testfs) testfs.tree() assert result == { @@ -70,7 +70,6 @@ def test_duplicate_largefiles(testfs): } -# TODO detect_original_by: name # TODO detect_original_by: first_seen # TODO detect_original_by: created # TODO detect_original_by: lastmodified |