mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 06:37:17 +00:00
Instantiate Scanner on-the-fly
Previously, it would be instantiated on startup. This will make our job easier for an upcoming SE/ME/PE merge.
This commit is contained in:
@@ -105,7 +105,7 @@ class TestCaseDupeGuru:
|
||||
os.link(str(tmppath['myfile']), str(tmppath['hardlink']))
|
||||
app = TestApp().app
|
||||
app.directories.add_path(tmppath)
|
||||
app.scanner.scan_type = ScanType.Contents
|
||||
app.options['scan_type'] = ScanType.Contents
|
||||
app.options['ignore_hardlink_matches'] = True
|
||||
app.start_scanning()
|
||||
eq_(len(app.results.groups), 0)
|
||||
|
||||
Reference in New Issue
Block a user