mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	more test
This commit is contained in:
		| @@ -74,6 +74,11 @@ class TestExportImport(DirectoriesMixin, TestCase): | ||||
|  | ||||
|         self.assertTrue(os.path.exists(os.path.join(self.target, "manifest.json"))) | ||||
|  | ||||
|         self.assertEqual(self._get_document_from_manifest(manifest, self.d1.id)['fields']['title'], "wow1") | ||||
|         self.assertEqual(self._get_document_from_manifest(manifest, self.d2.id)['fields']['title'], "wow2") | ||||
|         self.assertEqual(self._get_document_from_manifest(manifest, self.d3.id)['fields']['title'], "wow2") | ||||
|         self.assertEqual(self._get_document_from_manifest(manifest, self.d4.id)['fields']['title'], "wow_dec") | ||||
|  | ||||
|         for element in manifest: | ||||
|             if element['model'] == 'documents.document': | ||||
|                 fname = os.path.join(self.target, element[document_exporter.EXPORTER_FILE_NAME]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler