mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	make the test case fail
This commit is contained in:
		| @@ -538,6 +538,7 @@ class TestConsumer(DirectoriesMixin, TestCase): | |||||||
|  |  | ||||||
|         self._assert_first_last_send_progress(last_status="FAILED") |         self._assert_first_last_send_progress(last_status="FAILED") | ||||||
|  |  | ||||||
|  |     @override_settings(PAPERLESS_FILENAME_FORMAT="{title}") | ||||||
|     @mock.patch("documents.parsers.document_consumer_declaration.send") |     @mock.patch("documents.parsers.document_consumer_declaration.send") | ||||||
|     def test_similar_filenames(self, m): |     def test_similar_filenames(self, m): | ||||||
|         shutil.copy(os.path.join(os.path.dirname(__file__), "samples", "simple.pdf"), os.path.join(settings.CONSUMPTION_DIR, "simple.pdf")) |         shutil.copy(os.path.join(os.path.dirname(__file__), "samples", "simple.pdf"), os.path.join(settings.CONSUMPTION_DIR, "simple.pdf")) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler