Fix patches to use proper courseware imports

This commit is contained in:
Ned Batchelder
2019-09-05 12:35:39 -04:00
parent efba6e45e8
commit 58828da55b
14 changed files with 59 additions and 55 deletions

View File

@@ -395,7 +395,7 @@ class DashboardTest(ModuleStoreTestCase):
self.assertIsNone(course_mode_info['days_for_upsell'])
@unittest.skipUnless(settings.ROOT_URLCONF == 'lms.urls', 'Test only valid in lms')
@patch('courseware.views.index.log.warning')
@patch('lms.djangoapps.courseware.views.index.log.warning')
@patch.dict('django.conf.settings.FEATURES', {'ENABLE_PAID_COURSE_REGISTRATION': True})
def test_blocked_course_scenario(self, log_warning):