Test simplification

Unify usage of self.test_document and self.test_documents in
tests.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-07 00:54:59 -04:00
parent ebc68d3c36
commit a0d2000419
36 changed files with 306 additions and 276 deletions

View File

@@ -23,7 +23,7 @@ class ParsingIndexingTestCase(DocumentTestMixin, BaseTestCase):
link_documents=True
)
self.test_document = self.upload_document()
self.upload_document()
self.test_document.submit_for_parsing()
self.assertTrue(