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:
aarif
2019-10-10 17:15:18 +05:00
parent 8aa2fad4ec
commit d176957708
7 changed files with 11 additions and 17 deletions

View File

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