src/cm/tests/test_structure.py
changeset 278 3d25afbd78ff
parent 103 61fd17f9ab78
--- a/src/cm/tests/test_structure.py	Fri May 14 15:17:44 2010 +0200
+++ b/src/cm/tests/test_structure.py	Mon May 17 15:07:30 2010 +0200
@@ -25,7 +25,7 @@
         # edit with duplication changing content
         new_text = text.edit(new_title='my title', 
                   new_format='html', 
-                  new_content='simple text <p>simple text</p> <p>simple text</p> ', 
+                  new_content=u'simple text <p>simple text</p> <p>simple text</p> ', 
                   keep_comments = True, 
                   cancel_modified_scopes=False,                  
                   new_version = True)
@@ -35,7 +35,7 @@
         # edit without duplication, completely changing content
         new_text = text.edit(new_title='my title', 
                   new_format='html', 
-                  new_content='xxxxxx', 
+                  new_content=u'xxxxxx', 
                   keep_comments = True, 
                   cancel_modified_scopes=False,                  
                   new_version = False)
@@ -48,7 +48,7 @@
         text = Text.objects.all()[0]
         new_text = text.edit(new_title='my title', 
                   new_format='html', 
-                  new_content='xxxxxx', 
+                  new_content=u'xxxxxx', 
                   keep_comments = False, 
                   cancel_modified_scopes=False,                  
                   new_version = False)
@@ -61,7 +61,7 @@
         text = Text.objects.all()[0]
         new_text = text.edit(new_title='my title', 
                   new_format='html', 
-                  new_content='xxxxxx', 
+                  new_content=u'xxxxxx', 
                   keep_comments = False, 
                   cancel_modified_scopes=False,                  
                   new_version = True)