Commit e5501f7a authored by Sebastien Robin's avatar Sebastien Robin

replace assertTrue by failUnless


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3658 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86de524c
...@@ -398,7 +398,7 @@ class TestCMFCategory(ERP5TypeTestCase): ...@@ -398,7 +398,7 @@ class TestCMFCategory(ERP5TypeTestCase):
self.assertEqual(west, self.assertEqual(west,
portal.portal_categories.resolveCategory('region/europe/ouest')) portal.portal_categories.resolveCategory('region/europe/ouest'))
self.assertEqual(p1.getRegion(), 'europe/ouest/france') self.assertEqual(p1.getRegion(), 'europe/ouest/france')
self.assertTrue(p1 in west.getRegionRelatedValueList()) self.failUnless(p1 in west.getRegionRelatedValueList())
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
......
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