Updated the tests to fix the string/bytes input
changes made to pass tests with python 2 and other minor changes Updated the tests to fix the string/bytes input changes made to pass tests with python 2 and other minor changes made some changes as suggested made changes as suggested changes made as suggested
This commit is contained in:
@@ -564,7 +564,7 @@ class ImportTestCase(BaseCourseTestCase):
|
||||
# Expect to find an error/exception about characters in "®esources"
|
||||
expect = "InvalidKeyError"
|
||||
errors = [
|
||||
(msg.encode("utf-8"), err.encode("utf-8"))
|
||||
(msg, err)
|
||||
for msg, err
|
||||
in modulestore.get_course_errors(course.id)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user