web/test/unittest_viewselector.py
branchtls-sprint
changeset 764 9de67b681624
parent 728 a95b284150d1
child 783 45d816326626
--- a/web/test/unittest_viewselector.py	Wed Feb 18 10:22:08 2009 +0100
+++ b/web/test/unittest_viewselector.py	Wed Feb 18 10:27:09 2009 +0100
@@ -411,7 +411,7 @@
         class SomeAction(Action):
             id = 'yo'
             category = 'foo'
-            __select__ = match_user_groups('owners'),
+            __select__ = match_user_groups('owners')
         self.vreg.register_vobject_class(SomeAction)
         self.failUnless(SomeAction in self.vreg['actions']['yo'], self.vreg['actions'])
         try:
@@ -436,7 +436,7 @@
 
 from cubicweb.web.action import Action
 
-class EETypeRQLAction(EntityAction):
+class EETypeRQLAction(Action):
     id = 'testaction'
     __select__ = implements('EEType') & rql_condition('X name "EEType"')
     title = 'bla'