web/test/unittest_uicfg.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 Jan 2010 16:46:12 +0100
changeset 4372 0c44af150a49
parent 4083 3b285889b8e9
child 4997 aed7bdb9da54
permissions -rw-r--r--
introduce a default render implementation on the base widget, which add_media and then call the newly introduced method _render(form, field, formrenderer), abstract of the base widget class. This allow a litle code factorisation and avoid to forget the call to add_media in subclasses.

from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.web import uicfg

class UICFGTC(CubicWebTC):

    def test(self):
        self.skip('write some tests')

if __name__ == '__main__':
    from logilab.common.testlib import unittest_main
    unittest_main()