Fix typos in tests.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-17 21:18:56 -04:00
parent f9eb7d0fb5
commit 922492169f
26 changed files with 69 additions and 67 deletions
@@ -5,7 +5,7 @@ from django.test import override_settings
from common.tests import BaseTestCase
from common.tests.mixins import UserMixin
from documents.models import DocumentType
from documents.tests import TEST_SMALL_DOCUMENT_PATH, TEST_DOCUMENT_TYPE
from documents.tests import TEST_SMALL_DOCUMENT_PATH, TEST_DOCUMENT_TYPE_LABEL
from document_indexing.models import Index, IndexInstanceNode
from ..models import Workflow
@@ -27,7 +27,7 @@ class DocumentStateIndexingTestCase(UserMixin, BaseTestCase):
def _create_document_type(self):
self.document_type = DocumentType.objects.create(
label=TEST_DOCUMENT_TYPE
label=TEST_DOCUMENT_TYPE_LABEL
)
def _create_document(self):