server/test/unittest_hooks.py
branch3.5
changeset 2920 64322aa83a1d
parent 2746 cfcc7f6121d6
child 2921 8e2544e78a5e
--- a/server/test/unittest_hooks.py	Thu Aug 20 17:33:05 2009 +0200
+++ b/server/test/unittest_hooks.py	Thu Aug 20 17:44:27 2009 +0200
@@ -37,8 +37,8 @@
                           'DELETE CWGroup X WHERE X name "owners"')
 
     def test_delete_required_relations_subject(self):
-        self.execute('INSERT CWUser X: X login "toto", X upassword "hop", X in_group Y, X in_state S '
-                     'WHERE Y name "users", S name "activated"')
+        self.execute('INSERT CWUser X: X login "toto", X upassword "hop", X in_group Y '
+                     'WHERE Y name "users"')
         self.commit()
         self.execute('DELETE X in_group Y WHERE X login "toto", Y name "users"')
         self.assertRaises(ValidationError, self.commit)