Remove the creation of a test user.

This commit is contained in:
Roberto Rosario
2016-04-27 18:10:21 -04:00
parent 8a58ee2124
commit af273fbfc3

View File

@@ -1,6 +1,5 @@
from __future__ import unicode_literals
from django.contrib.auth import get_user_model
from django.test import TestCase
from documents.models import DocumentType
@@ -25,11 +24,6 @@ class FolderTestCase(TestCase):
file_object=file_object
)
self.user = get_user_model().objects.create_superuser(
username=TEST_ADMIN_USERNAME, email=TEST_ADMIN_EMAIL,
password=TEST_ADMIN_PASSWORD
)
def tearDown(self):
self.document_type.delete()