Fixing python3
This commit is contained in:
Awais Qureshi
2019-09-12 18:47:48 +05:00
parent 20dc162375
commit fac33c275d
2 changed files with 2 additions and 2 deletions

View File

@@ -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),

View File

@@ -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[]