Unify usage of self.test_document and self.test_documents in tests. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
17 lines
450 B
Python
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()
|