1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
|
2 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
4 # |
|
5 # This file is part of CubicWeb. |
|
6 # |
|
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
|
8 # terms of the GNU Lesser General Public License as published by the Free |
|
9 # Software Foundation, either version 2.1 of the License, or (at your option) |
|
10 # any later version. |
|
11 # |
|
12 # logilab-common is distributed in the hope that it will be useful, but WITHOUT |
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
14 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
|
15 # details. |
|
16 # |
|
17 # You should have received a copy of the GNU Lesser General Public License along |
|
18 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
2 """functional tests for core hooks |
19 """functional tests for core hooks |
3 |
20 |
4 note: most schemahooks.py hooks are actually tested in unittest_migrations.py |
21 note: most schemahooks.py hooks are actually tested in unittest_migrations.py |
5 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
|
6 """ |
22 """ |
7 |
23 |
8 from logilab.common.testlib import TestCase, unittest_main |
24 from logilab.common.testlib import TestCase, unittest_main |
9 |
25 |
10 from datetime import datetime |
26 from datetime import datetime |