feat: integrate amplitude API with learner_home frontend [VAN-1124] (#31098)

This commit is contained in:
Syed Sajjad Hussain Shah
2022-10-10 12:09:28 +05:00
committed by GitHub
parent 3bd94f78f9
commit 52de7e9066
5 changed files with 189 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ class TestCourseRecommendationApiView(SharedModuleStoreTestCase):
'marketing_url': 'https://www.edx.org/course/introduction-to-computer-science-and-programming-7'
}
@mock.patch('lms.djangoapps.learner_dashboard.api.v0.views.get_personalized_course_recommendations', )
@mock.patch('lms.djangoapps.learner_dashboard.api.v0.views.get_personalized_course_recommendations')
@mock.patch('lms.djangoapps.learner_dashboard.api.v0.views.get_course_data')
def test_no_recommendations_from_amplitude(self, mocked_get_course_data,
mocked_get_personalized_course_recommendations):