1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
4 # |
4 # |
5 # This file is part of CubicWeb. |
5 # This file is part of CubicWeb. |
6 # |
6 # |
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
20 |
20 |
21 from logilab.common.testlib import unittest_main |
21 from logilab.common.testlib import unittest_main |
22 |
22 |
23 from cubicweb.devtools.testlib import CubicWebTC |
23 from cubicweb.devtools.testlib import CubicWebTC |
24 from cubicweb import CW_SOFTWARE_ROOT as BASE, Binary, UnknownProperty |
24 from cubicweb import CW_SOFTWARE_ROOT as BASE, Binary, UnknownProperty |
25 from cubicweb.selectors import (match_user_groups, is_instance, |
25 from cubicweb.predicates import (match_user_groups, is_instance, |
26 specified_etype_implements, rql_condition, |
26 specified_etype_implements, rql_condition) |
27 traced_selection) |
|
28 from cubicweb.web import NoSelectableObject |
27 from cubicweb.web import NoSelectableObject |
29 from cubicweb.web.action import Action |
28 from cubicweb.web.action import Action |
30 from cubicweb.web.views import ( |
29 from cubicweb.web.views import ( |
31 primary, baseviews, tableview, editforms, calendar, management, embedding, |
30 primary, baseviews, tableview, editforms, calendar, management, embedding, |
32 actions, startup, cwuser, schema, xbel, vcard, owl, treeview, idownloadable, |
31 actions, startup, cwuser, schema, xbel, vcard, owl, treeview, idownloadable, |