Fix a mistake with initializing something in the test setup.

This commit is contained in:
Toby Lawrence
2016-02-16 10:20:57 -05:00
parent e2ed8ff787
commit 0d040bc051

View File

@@ -36,7 +36,6 @@ class EnrollmentTest(UrlResetMixin, SharedModuleStoreTestCase):
def setUp(self):
""" Create a course and user, then log in. """
super(EnrollmentTest, self).setUp('embargo')
self.course = CourseFactory.create()
self.user = UserFactory.create(username=self.USERNAME, email=self.EMAIL, password=self.PASSWORD)
self.client.login(username=self.USERNAME, password=self.PASSWORD)