Merge pull request #1537 from edx/will/fix-unicode-vagrant-issue

Fixed test that was failing in Vagrant due to filesystem encoding mismatch
This commit is contained in:
Will Daly
2013-10-30 09:17:08 -07:00

View File

@@ -385,7 +385,7 @@ class ImportTestCase(BaseCourseTestCase):
print("course errors:")
# Expect to find an error/exception about characters in "®esources"
expect = "Invalid characters in '®esources'"
expect = "Invalid characters"
errors = [(msg.encode("utf-8"), err.encode("utf-8"))
for msg, err in
modulestore.get_item_errors(course.location)]