BOM-913
reduce functions moves into functools in python3. Fixed the import. Fixing bytes issue.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user