Replace get_object_list() with self.object_list

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-12 01:25:53 -04:00
parent 2d819e64c9
commit 4617afafb2
17 changed files with 40 additions and 74 deletions

View File

@@ -22,10 +22,6 @@ from .mixins import DocumentTestMixin
class DocumentTestCase(DocumentTestMixin, BaseTestCase):
def test_natural_keys(self):
self.test_document.pages.first().generate_image()
self._test_database_conversion('documents')
def test_document_creation(self):
self.assertEqual(self.test_document_type.label, TEST_DOCUMENT_TYPE_LABEL)