reduce functions moves into functools in python3. Fixed the import.
Fixing bytes issue.
This commit is contained in:
Awais Qureshi
2019-10-10 17:11:23 +05:00
parent 69920f2781
commit 91e7d8a7be
2 changed files with 6 additions and 4 deletions

View File

@@ -267,7 +267,7 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
response = self.client.get(self.url)
self.assertNotIn(
TestInstructorDashboard.GRADEBOOK_LEARNER_COUNT_MESSAGE,
response.content
response.content.decode('utf-8')
)
self.assertContains(response, 'View Gradebook')
@@ -431,7 +431,8 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
self.assertEquals(
expected_result,
'CCX Coaches are able to create their own Custom Courses based on this course' in response.content
'CCX Coaches are able to create their own Custom Courses based on this course'
in response.content.decode('utf-8')
)
def test_grade_cutoffs(self):