Commit 7fb9bfd6 by Miles Steele

fix test string comparison

parent 0825319c
......@@ -76,7 +76,7 @@ class TestGradebook(ModuleStoreTestCase):
class TestDefaultGradingPolicy(TestGradebook):
def test_all_users_listed(self):
for user in self.users:
self.assertIn(str(user.username), str(self.response.content))
self.assertIn(user.username, unicode(self.response.content, 'utf-8'))
def test_default_policy(self):
# Default >= 50% passes, so Users 5-10 should be passing for Homework 1 [6]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment