Not need to add a tearDown method, this is done by the base class.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-03-19 17:23:31 -04:00
committed by Roberto Rosario
parent 31c9282d87
commit 62bb9e80d9

View File

@@ -34,10 +34,6 @@ class DocumentUploadMetadataTestCase(MetadataTypeMixin, GenericDocumentViewTestC
metadata_type=self.metadata_type, required=True
)
def tearDown(self):
self.document_type.delete()
super(DocumentUploadMetadataTestCase, self).tearDown()
def test_unicode_interactive_with_unicode_metadata(self):
url = furl(reverse('sources:upload_interactive'))
url.args['metadata0_id'] = self.metadata_type.pk