Fix failures caused by removing lms/djangoapps from sys.path

This commit is contained in:
Calen Pennington
2020-09-22 11:38:54 -04:00
committed by Calen Pennington
parent 211bd3beb5
commit 4a120a9e26
51 changed files with 298 additions and 282 deletions

View File

@@ -189,7 +189,7 @@ class InstructorTaskModuleSubmitTest(InstructorTaskModuleTestCase):
task_function(self.create_task_request(self.instructor), location, **params)
@patch('bulk_email.models.html_to_text', Mock(return_value='Mocking CourseEmail.text_message', autospec=True))
@patch('lms.djangoapps.bulk_email.models.html_to_text', Mock(return_value='Mocking CourseEmail.text_message', autospec=True))
class InstructorTaskCourseSubmitTest(TestReportMixin, InstructorTaskCourseTestCase):
"""Tests API methods that involve the submission of course-based background tasks."""