mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Fixed broken tests in core_me
This commit is contained in:
parent
4cafeaff91
commit
8193bbae6e
@ -7,7 +7,6 @@
|
|||||||
# which should be included with this package. The terms are also available at
|
# which should be included with this package. The terms are also available at
|
||||||
# http://www.hardcoded.net/licenses/bsd_license
|
# http://www.hardcoded.net/licenses/bsd_license
|
||||||
|
|
||||||
from hscommon import io
|
|
||||||
from hscommon.path import Path
|
from hscommon.path import Path
|
||||||
|
|
||||||
from core.engine import getwords
|
from core.engine import getwords
|
||||||
@ -18,7 +17,6 @@ def pytest_funcarg__fake_fileexists(request):
|
|||||||
# This is a hack to avoid invalidating all previous tests since the scanner started to test
|
# This is a hack to avoid invalidating all previous tests since the scanner started to test
|
||||||
# for file existence before doing the match grouping.
|
# for file existence before doing the match grouping.
|
||||||
monkeypatch = request.getfuncargvalue('monkeypatch')
|
monkeypatch = request.getfuncargvalue('monkeypatch')
|
||||||
monkeypatch.setattr(io, 'exists', lambda _: True)
|
|
||||||
monkeypatch.setattr(Path, 'exists', lambda _: True)
|
monkeypatch.setattr(Path, 'exists', lambda _: True)
|
||||||
|
|
||||||
def test_priorize_me(fake_fileexists):
|
def test_priorize_me(fake_fileexists):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user