Commit c4f86260 authored by iv's avatar iv

fix typo (calling getStateValueById with a list as parameter)

parent 08841038
...@@ -970,7 +970,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor): ...@@ -970,7 +970,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
self.getWorkflowTool().getWorkflowValueListFor('Person')) self.getWorkflowTool().getWorkflowValueListFor('Person'))
self.assertEqual('validation_state', wf.getStateVariable()) self.assertEqual('validation_state', wf.getStateVariable())
initial_state = wf.getSourceValue() initial_state = wf.getSourceValue()
other_state = wf.getStateValueById(['validated']) other_state = wf.getStateValueById('validated')
self.assertTrue(hasattr(person, 'getValidationState')) self.assertTrue(hasattr(person, 'getValidationState'))
self.assertTrue(hasattr(person, 'getValidationStateTitle')) self.assertTrue(hasattr(person, 'getValidationStateTitle'))
......
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