diff --git a/lms/djangoapps/courseware/tests/test_views.py b/lms/djangoapps/courseware/tests/test_views.py index 2139ad6ede..4eec715f49 100644 --- a/lms/djangoapps/courseware/tests/test_views.py +++ b/lms/djangoapps/courseware/tests/test_views.py @@ -2025,7 +2025,7 @@ class ProgressPageShowCorrectnessTests(ProgressPageBaseTests): resp = self._get_progress_page() # Test that no problem scores are present - self.assertIn('No problem scores in this section', resp.content) + self.assertIn('No problem scores in this section', resp.content.decode('utf-8')) @ddt.data( ('', None, False, True), diff --git a/lms/templates/courseware/progress_graph.js b/lms/templates/courseware/progress_graph.js index e71c66e9a9..f4d2616265 100644 --- a/lms/templates/courseware/progress_graph.js +++ b/lms/templates/courseware/progress_graph.js @@ -96,7 +96,7 @@ $(function () { ## ----------------------------- Grade overview bar ------------------------- ## tickIndex += sectionSpacer - series = categories.values() + series = list(categories.values()) overviewBarX = tickIndex extraColorIndex = len(categories) #Keeping track of the next color to use for categories not in categories[]