From 80a9b9ef9d108e534f4fec680552dc614fcb2007 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 30 Apr 2019 00:54:27 -0400 Subject: [PATCH] Record the upload of multiple documents Signed-off-by: Roberto Rosario --- mayan/apps/documents/tests/mixins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/documents/tests/mixins.py b/mayan/apps/documents/tests/mixins.py index a9aa1d618b..ec1d706b92 100644 --- a/mayan/apps/documents/tests/mixins.py +++ b/mayan/apps/documents/tests/mixins.py @@ -39,6 +39,7 @@ class DocumentTestMixin(object): ) self.test_document = document + self.test_documents.append(document) return document def _calculate_test_document_path(self): @@ -50,6 +51,7 @@ class DocumentTestMixin(object): def setUp(self): super(DocumentTestMixin, self).setUp() + self.test_documents = [] if self.auto_create_document_type: self._create_document_type()