Commit 2329336c authored by Łukasz Nowak's avatar Łukasz Nowak

- follow r31382


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31453 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b2d0dc37
...@@ -2103,10 +2103,9 @@ class TestPropertySheet: ...@@ -2103,10 +2103,9 @@ class TestPropertySheet:
foo.getRegionTitleList()) foo.getRegionTitleList())
self._ignore_log_errors() self._ignore_log_errors()
logged_errors = [ logrecord for logrecord in self.logged logged_errors = [ logrecord for logrecord in self.logged
if logrecord[0] == 'CMFCategory' ] if logrecord.name == 'CMFCategory' ]
self.assertEquals('Could not access object region/gamma', self.assertEquals('Could not access object region/gamma',
logged_errors[0][2]) logged_errors[0].getMessage())
def test_list_accessors(self): def test_list_accessors(self):
self._addProperty('Person', '''{'id': 'dummy', self._addProperty('Person', '''{'id': 'dummy',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment