Fix patches to use proper courseware imports
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user