Skip to content
Snippets Groups Projects
Commit b8b6dc48 authored by Awais Qureshi's avatar Awais Qureshi
Browse files

PROD-662

Photo verification Fixing python3
parent e2743977
No related merge requests found
......@@ -328,7 +328,7 @@ class UnitTestLibraries(CourseTestCase):
response = self.client.get(manage_users_url)
self.assertEqual(response.status_code, 200)
# extra_user has not been assigned to the library so should not show up in the list:
self.assertNotIn(binary_type(extra_user.username), response.content)
self.assertNotIn(extra_user.username, response.content.decode('utf-8'))
# Now add extra_user to the library:
user_details_url = reverse_course_url(
......@@ -341,4 +341,4 @@ class UnitTestLibraries(CourseTestCase):
# Now extra_user should apear in the list:
response = self.client.get(manage_users_url)
self.assertEqual(response.status_code, 200)
self.assertIn(binary_type(extra_user.username), response.content)
self.assertIn(extra_user.username, response.content.decode('utf-8'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment