mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	Remove duplicated date parsing test
The exact same tests existed twice in the file.
This commit is contained in:
		
							parent
							
								
									222acb8c13
								
							
						
					
					
						commit
						a3aab0cb48
					
				| @ -172,13 +172,3 @@ class TestDate(TestCase): | ||||
|         document = RasterisedDocumentParser("/dev/null") | ||||
|         document.get_text() | ||||
|         self.assertIsNone(document.get_date()) | ||||
| 
 | ||||
|     @mock.patch( | ||||
|         "paperless_tesseract.parsers.RasterisedDocumentParser.get_text", | ||||
|         return_value="01-07-0590 00:00:00" | ||||
|     ) | ||||
|     @mock.patch(MOCK_SCRATCH, SCRATCH) | ||||
|     def test_crazy_date_past(self, *args): | ||||
|         document = RasterisedDocumentParser("/dev/null") | ||||
|         document.get_text() | ||||
|         self.assertIsNone(document.get_date()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user