A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
fix content_type on test_api_create_storage_path
Michael Shamoone32cb12ad770
diff --git a/src/documents/tests/test_api.py b/src/documents/tests/test_api.pyindex 8886372c2..53c80fd1b 100644--- a/src/documents/tests/test_api.py+++ b/src/documents/tests/test_api.py@@ -2599,8 +2599,6 @@ class TestApiStoragePaths(DirectoriesMixin, APITestCase):self.assertEqual(resp_storage_path["id"], self.sp1.id)self.assertEqual(resp_storage_path["path"], self.sp1.path)- # TODO: Need to investigate and fix- @pytest.mark.skip(reason="Return 400, unsure as to why")def test_api_create_storage_path(self):response = self.client.post(self.ENDPOINT,@@ -2610,6 +2608,6 @@ class TestApiStoragePaths(DirectoriesMixin, APITestCase):"path": "Somewhere/{asn}",},),- format="json",+ content_type="application/json",)self.assertEqual(response.status_code, 201)