mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	Fixed scanner_test which was broken.
The monkeypatching made to hscommon.io wasn't correctly transferred to Path after the migration at [dfc82cd].
This commit is contained in:
		
							parent
							
								
									4a8ce9b6c4
								
							
						
					
					
						commit
						6dddcb1a47
					
				| @ -38,6 +38,7 @@ def pytest_funcarg__fake_fileexists(request): | |||||||
|     # 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(io, 'exists', lambda _: True) | ||||||
|  |     monkeypatch.setattr(Path, 'exists', lambda _: True) | ||||||
| 
 | 
 | ||||||
| def test_empty(fake_fileexists): | def test_empty(fake_fileexists): | ||||||
|     s = Scanner() |     s = Scanner() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user