Changeset 3403 in products for quintagroup.plonetabs/branches/tests/quintagroup/plonetabs/tests/test_controlpanel.py
- Timestamp:
- Apr 3, 2012 11:40:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonetabs/branches/tests/quintagroup/plonetabs/tests/test_controlpanel.py
r3402 r3403 6 6 7 7 from Products.CMFCore.utils import getToolByName 8 from Products.CMFCore.ActionInformation import Action , ActionCategory8 from Products.CMFCore.ActionInformation import Action 9 9 10 10 from quintagroup.plonetabs import messageFactory as _ … … 73 73 # Revert PloneTestCase's optimization 74 74 # because this breaks our test 75 #### pyflakes.scripts.pyflakes, modified: 76 ## - return array of warnings instead of printing them 77 ## - honour pyflakes:ignore comments 75 78 def __init__(self, text): 76 79 self.text = text … … 78 81 self._v_compiled = getEngine().compile(text) 79 82 from Products.CMFCore.Expression import Expression 83 80 84 optimized__init__ = Expression.__init__ 81 85 Expression.__init__ = __init__ … … 86 90 self.assertEquals(len(errors.keys()), 4, 87 91 'validateActionFields method is not working properly.') 92 #### pyflakes.scripts.pyflakes ends. 88 93 89 94 def test_processErrors(self):
Note: See TracChangeset
for help on using the changeset viewer.