[web test] a basic test, to be completed stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Mar 2010 15:09:49 +0100
branchstable
changeset 4997 aed7bdb9da54
parent 4996 45ce27d538a1
child 4998 924f8274a264
[web test] a basic test, to be completed
web/test/unittest_uicfg.py
--- a/web/test/unittest_uicfg.py	Wed Mar 24 15:09:21 2010 +0100
+++ b/web/test/unittest_uicfg.py	Wed Mar 24 15:09:49 2010 +0100
@@ -1,10 +1,12 @@
 from cubicweb.devtools.testlib import CubicWebTC
 from cubicweb.web import uicfg
 
+abaa = uicfg.actionbox_appearsin_addmenu
+
 class UICFGTC(CubicWebTC):
 
-    def test(self):
-        self.skip('write some tests')
+    def test_default_actionbox_appearsin_addmenu_config(self):
+        self.failIf(abaa.etype_get('TrInfo', 'wf_info_for', 'object', 'CWUser'))
 
 if __name__ == '__main__':
     from logilab.common.testlib import unittest_main