equal
deleted
inserted
replaced
|
1 from cubicweb.devtools.apptest import EnvBasedTC |
|
2 from cubicweb.web import uicfg |
|
3 |
|
4 class UICFGTC(EnvBasedTC): |
|
5 |
|
6 def test_autoform_section_inlined(self): |
|
7 self.assertEquals(uicfg.autoform_is_inlined.etype_get('CWUser', 'use_email', 'subject', 'EmailAddress'), |
|
8 True) |
|
9 self.assertEquals(uicfg.autoform_section.etype_get('CWUser', 'use_email', 'subject', 'EmailAddress'), |
|
10 'generated') |
|
11 |
|
12 if __name__ == '__main__': |
|
13 from logilab.common.testlib import unittest_main |
|
14 unittest_main() |