A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Finalizes testing of the delete comment
Trenton Holmes67bb140eef7c
diff --git a/src/documents/tests/test_api.py b/src/documents/tests/test_api.pyindex 774b8dde3..4942751e4 100644--- a/src/documents/tests/test_api.py+++ b/src/documents/tests/test_api.py@@ -1459,13 +1459,14 @@ class TestDocumentApi(DirectoriesMixin, APITestCase):)response = self.client.delete(- f"/api/documents/{doc.pk}/comments/",- data={"id": f"{comment.pk}"},+ f"/api/documents/{doc.pk}/comments/?id={comment.pk}",format="json",)self.assertEqual(response.status_code, 200)+ self.assertEqual(len(Comment.objects.all()), 0)+def test_get_comments_no_doc(self):"""GIVEN: