author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 28 Sep 2009 16:39:10 +0200 | |
changeset 3505 | c0c7a944c00d |
parent 3464 | 99bd1ea0394a |
child 4083 | 3b285889b8e9 |
permissions | -rw-r--r-- |
from cubicweb.devtools.testlib import CubicWebTC from cubicweb.web import uicfg class UICFGTC(CubicWebTC): def test_autoform_section_inlined(self): self.assertEquals(uicfg.autoform_is_inlined.etype_get('CWUser', 'use_email', 'subject', 'EmailAddress'), True) self.assertEquals(uicfg.autoform_section.etype_get('CWUser', 'use_email', 'subject', 'EmailAddress'), 'generated') if __name__ == '__main__': from logilab.common.testlib import unittest_main unittest_main()