equal
deleted
inserted
replaced
1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # copyright 2003-2016 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 |
24 |
24 |
25 from six import text_type |
25 from six import text_type |
26 |
26 |
27 from cubicweb import ValidationError |
27 from cubicweb import ValidationError |
28 from cubicweb.devtools.testlib import CubicWebTC |
28 from cubicweb.devtools.testlib import CubicWebTC |
|
29 |
29 |
30 |
30 class CWPropertyHooksTC(CubicWebTC): |
31 class CWPropertyHooksTC(CubicWebTC): |
31 |
32 |
32 def test_unexistant_cwproperty(self): |
33 def test_unexistant_cwproperty(self): |
33 with self.admin_access.web_request() as req: |
34 with self.admin_access.web_request() as req: |