From ccaf8178fdd4f01e4b55bc191fb8c04185575b26 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 7 Jun 2013 09:57:51 -0400 Subject: [PATCH] Change a test to get at some Unicode issues. --- common/lib/xmodule/xmodule/tests/test_import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/tests/test_import.py b/common/lib/xmodule/xmodule/tests/test_import.py index a75dfc8d20..fda2b47e6a 100644 --- a/common/lib/xmodule/xmodule/tests/test_import.py +++ b/common/lib/xmodule/xmodule/tests/test_import.py @@ -66,7 +66,8 @@ class ImportTestCase(BaseCourseTestCase): def test_fallback(self): '''Check that malformed xml loads as an ErrorDescriptor.''' - bad_xml = '''''' + # Use an exotic character to also flush out Unicode issues. + bad_xml = u'''''' system = self.get_system() descriptor = system.process_xml(bad_xml)