Merge pull request #8060 from edx/ned/add-supers
Add super() calls to setUp/tearDown that are missing them
This commit is contained in:
@@ -118,13 +118,6 @@ class TestCoachDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase):
|
||||
from django.core import mail
|
||||
return mail.outbox
|
||||
|
||||
def tearDown(self):
|
||||
"""
|
||||
Undo patches.
|
||||
"""
|
||||
super(TestCoachDashboard, self).tearDown()
|
||||
patch.stopall()
|
||||
|
||||
def test_not_a_coach(self):
|
||||
"""
|
||||
User is not a coach, should get Forbidden response.
|
||||
|
||||
@@ -40,12 +40,6 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase):
|
||||
# URL for instructor dash
|
||||
self.url = reverse('instructor_dashboard', kwargs={'course_id': self.course.id.to_deprecated_string()})
|
||||
|
||||
def tearDown(self):
|
||||
"""
|
||||
Undo patches.
|
||||
"""
|
||||
patch.stopall()
|
||||
|
||||
def get_dashboard_enrollment_message(self):
|
||||
"""
|
||||
Returns expected dashboard enrollment message with link to Insights.
|
||||
|
||||
Reference in New Issue
Block a user