Commit 0c830fcf authored by Ivan Tyagov's avatar Ivan Tyagov

Make it more readable and use right API.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24722 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82624dad
...@@ -5238,6 +5238,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -5238,6 +5238,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
Check that a skin selection has been removed. Check that a skin selection has been removed.
""" """
self.failUnless('Foo' not in self.portal.portal_skins._getSelections().keys()) self.failUnless('Foo' not in self.portal.portal_skins._getSelections().keys())
self.assertTrue('Foo' in ps.getSkinSelections())
def test_suite(): def test_suite():
......
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