[mq]: cw_3.6_pass_tests
authorArthur Lutz <arthur.lutz@logilab.fr>
Wed, 09 Dec 2009 11:30:32 +0100
changeset 90 039463d73a6e
parent 87 5170c4644eaa
child 91 969e27376b0c
[mq]: cw_3.6_pass_tests
test/test_keyword.py
test/unittest_descendant_of.py
test/unittest_security.py
--- a/test/test_keyword.py	Tue Nov 24 16:33:47 2009 +0100
+++ b/test/test_keyword.py	Wed Dec 09 11:30:32 2009 +0100
@@ -3,7 +3,7 @@
 
 class AutomaticWebTest(AutomaticWebTest):
 
-    ignored_relations = ('descendant_of',)
+    ignored_relations = set(('descendant_of',))
 
     def to_test_etypes(self):
         # add cwgroup to test keyword components on entity on which they can be applied
--- a/test/unittest_descendant_of.py	Tue Nov 24 16:33:47 2009 +0100
+++ b/test/unittest_descendant_of.py	Wed Dec 09 11:30:32 2009 +0100
@@ -1,9 +1,9 @@
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
 
-from cubicweb.common import ValidationError
+from cubicweb import ValidationError
 
 
-class KeywordHooksTC(EnvBasedTC):
+class KeywordHooksTC(CubicWebTC):
 
     def setup_database(self):
         self.execute('INSERT Classification C: C name "classif1", C classifies ET WHERE ET name "CWGroup"')
--- a/test/unittest_security.py	Tue Nov 24 16:33:47 2009 +0100
+++ b/test/unittest_security.py	Wed Dec 09 11:30:32 2009 +0100
@@ -1,6 +1,6 @@
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
 
-class SecurityTC(EnvBasedTC):
+class SecurityTC(CubicWebTC):
 
     def setup_database(self):
         self.execute('INSERT Classification C: C name "classif1", C classifies ET WHERE ET name "CWGroup"')