From 0d040bc0519fd5473bfa5188a7c084e9dbc594de Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Tue, 16 Feb 2016 10:20:57 -0500 Subject: [PATCH] Fix a mistake with initializing something in the test setup. --- common/djangoapps/student/tests/test_enrollment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/common/djangoapps/student/tests/test_enrollment.py b/common/djangoapps/student/tests/test_enrollment.py index a6815285eb..23279d370b 100644 --- a/common/djangoapps/student/tests/test_enrollment.py +++ b/common/djangoapps/student/tests/test_enrollment.py @@ -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)