Commit 986dd36f authored by Łukasz Nowak's avatar Łukasz Nowak

Unlock test users.

parent 9828a11a
...@@ -211,6 +211,8 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -211,6 +211,8 @@ class testVifibMixin(ERP5TypeTestCase):
person = person.getObject() person = person.getObject()
if isTransitionPossible(person, 'validate'): if isTransitionPossible(person, 'validate'):
person.validate() person.validate()
if isTransitionPossible(person, 'unlock'):
person.unlock()
for assignment in person.contentValues(portal_type='Assignment'): for assignment in person.contentValues(portal_type='Assignment'):
if isTransitionPossible(assignment, 'open'): if isTransitionPossible(assignment, 'open'):
assignment.open() assignment.open()
......
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