Fixed test that was failing in Vagrant due to filesystem encoding

mismatch
This commit is contained in:
Will Daly
2013-10-30 09:23:48 -04:00
parent 80c83f0b88
commit 83fcc318c6

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)]