[test] remove no more necessary attribute cache manipulation to repair test
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 24 Jul 2012 15:06:55 +0200
changeset 8495 0bc63e46bdb5
parent 8494 1527b012802f
child 8496 e4d71fc0b701
[test] remove no more necessary attribute cache manipulation to repair test
hooks/test/unittest_hooks.py
--- a/hooks/test/unittest_hooks.py	Tue Jul 24 11:19:16 2012 +0200
+++ b/hooks/test/unittest_hooks.py	Tue Jul 24 15:06:55 2012 +0200
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -70,7 +70,6 @@
         entity.cw_set(name=u'wf2')
         self.assertEqual(entity.description, u'yo')
         entity.cw_set(description=u'R&D<p>yo')
-        entity.cw_attr_cache.pop('description')
         self.assertEqual(entity.description, u'R&amp;D<p>yo</p>')
 
     def test_metadata_cwuri(self):