Add test document label explicitly.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-06-21 15:26:03 -04:00
parent c79b21e875
commit 538b66b238

View File

@@ -45,7 +45,7 @@ class GenericDocumentViewTestCase(GenericViewTestCase):
with open(TEST_SMALL_DOCUMENT_PATH) as file_object:
self.document = self.document_type.new_document(
file_object=file_object
file_object=file_object, label=TEST_SMALL_DOCUMENT_FILENAME
)
def tearDown(self):