1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Remove filtering of 0 size files in engine

Files size is already able to be filtered at a higher level, some users
may decide to see zero length files. Fix #321.
This commit is contained in:
2021-08-28 18:09:10 -05:00
parent 0a0694e095
commit e22d7d2fc9
2 changed files with 5 additions and 6 deletions

View File

@@ -530,10 +530,6 @@ class TestCaseGetMatches:
class TestCaseGetMatchesByContents:
def test_dont_compare_empty_files(self):
o1, o2 = no(size=0), no(size=0)
assert not getmatches_by_contents([o1, o2])
def test_big_file_partial_hashes(self):
smallsize = 1
bigsize = 100 * 1024 * 1024 # 100MB