Commit a20dbee4 authored by Aurel's avatar Aurel

now if a method is not present on a folder handler, raise NotImplementedError...

now if a method is not present on a folder handler, raise NotImplementedError instead of AttributeError


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16737 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1cb13cd7
......@@ -76,7 +76,7 @@ class TestFolderMigration(ERP5TypeTestCase, LogInterceptor):
if not quiet:
message = 'Test folderIsBtree'
LOG('Testing... ', 0, message)
self.assertRaises(AttributeError, self.folder.getTreeIdList)
self.assertRaises(NotImplementedError, self.folder.getTreeIdList)
self.assertEqual(self.folder.isBTree(), True)
self.assertEqual(self.folder.isHBTree(), False)
......
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