src/cm/tests/test_structure.py
changeset 103 61fd17f9ab78
parent 0 40c8f766c9b8
child 278 3d25afbd78ff
--- a/src/cm/tests/test_structure.py	Wed Jan 13 18:15:21 2010 +0100
+++ b/src/cm/tests/test_structure.py	Wed Jan 20 20:43:38 2010 +0100
@@ -17,6 +17,7 @@
                   new_format='html', 
                   new_content=text.get_latest_version().content, 
                   keep_comments = True, 
+                  cancel_modified_scopes=False,                  
                   new_version = True)
         self.assertEqual(TextVersion.objects.count(), 2)
         self.assertEqual(Comment.objects.count(), 16)
@@ -26,6 +27,7 @@
                   new_format='html', 
                   new_content='simple text <p>simple text</p> <p>simple text</p> ', 
                   keep_comments = True, 
+                  cancel_modified_scopes=False,                  
                   new_version = True)
         self.assertEqual(TextVersion.objects.count(), 3)
         self.assertEqual(Comment.objects.count(), 17) # 22
@@ -35,6 +37,7 @@
                   new_format='html', 
                   new_content='xxxxxx', 
                   keep_comments = True, 
+                  cancel_modified_scopes=False,                  
                   new_version = False)
         self.assertEqual(TextVersion.objects.count(), 3)
         self.assertEqual(Comment.objects.count(), 16) # 21
@@ -47,6 +50,7 @@
                   new_format='html', 
                   new_content='xxxxxx', 
                   keep_comments = False, 
+                  cancel_modified_scopes=False,                  
                   new_version = False)
         self.assertEqual(TextVersion.objects.count(), 1)
         self.assertEqual(Comment.objects.count(), 0)
@@ -59,6 +63,7 @@
                   new_format='html', 
                   new_content='xxxxxx', 
                   keep_comments = False, 
+                  cancel_modified_scopes=False,                  
                   new_version = True)
         self.assertEqual(TextVersion.objects.count(), 2)
         self.assertEqual(Comment.objects.count(), 8)