Files
mayan-edms/mayan/apps/document_states/tests/test_actions.py
Roberto Rosario a0d2000419 Test simplification
Unify usage of self.test_document and self.test_documents in
tests.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-05-07 00:54:59 -04:00

17 lines
450 B
Python

from __future__ import unicode_literals
from mayan.apps.documents.tests.test_models import GenericDocumentTestCase
class ActionTestCase(GenericDocumentTestCase):
def setUp(self):
super(ActionTestCase, self).setUp()
class MockWorkflowInstance(object):
document = self.test_document
class MockEntryLog(object):
workflow_instance = MockWorkflowInstance()
self.entry_log = MockEntryLog()