test/unittest_selectors.py
changeset 4490 d45cde54d464
parent 4252 6c4f109c2b03
child 4491 a0f48c31b58a
--- a/test/unittest_selectors.py	Sat Feb 06 08:45:14 2010 +0100
+++ b/test/unittest_selectors.py	Mon Feb 08 11:08:55 2010 +0100
@@ -112,6 +112,7 @@
             __select__ = match_user_groups('owners')
         self.vreg._loadedmods[__name__] = {}
         self.vreg.register_appobject_class(SomeAction)
+        SomeAction.__registered__(self.vreg['actions'])
         self.failUnless(SomeAction in self.vreg['actions']['yo'], self.vreg['actions'])
         try:
             # login as a simple user