equal
deleted
inserted
replaced
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 from logilab.common.testlib import unittest_main |
8 from logilab.common.testlib import unittest_main |
|
9 from logilab.common.compat import any |
9 from cubicweb.devtools.apptest import EnvBasedTC |
10 from cubicweb.devtools.apptest import EnvBasedTC |
10 from cubicweb.devtools.testlib import WebTest |
11 from cubicweb.devtools.testlib import WebTest |
11 from cubicweb.web.views.autoform import AutomaticEntityForm as AEF |
12 from cubicweb.web.views.autoform import AutomaticEntityForm as AEF |
12 from cubicweb.web.formwidgets import AutoCompletionWidget |
13 from cubicweb.web.formwidgets import AutoCompletionWidget |
13 def rbc(entity, category): |
14 def rbc(entity, category): |