mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Remove duplicated date parsing test
The exact same tests existed twice in the file.
This commit is contained in:
		| @@ -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()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johannes Wienke
					Johannes Wienke