Commit 28d03238 authored by Romain Courteaud's avatar Romain Courteaud

Script Career_shiftDefault was renamed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14352 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4d89319
......@@ -646,13 +646,13 @@ class TestHR(ERP5TypeTestCase):
title = 'Another Organistion')
new_career_title = 'new career title'
# Create a new career step.
person.Career_shiftDefault()
person.Person_shiftDefaultCareer()
self.assertEquals( 2,
len(person.contentValues(filter={'portal_type':'Career'})))
person.setCareerSubordination(other_organisation.getRelativeUrl())
person.setCareerTitle(new_career_title)
# Get the new and the old career, as Career_shiftDefault changes
# Get the new and the old career, as Person_shiftDefaultCareer changes
# objects id, this may be the only safe way ...
old_career_step = None
new_career_step = None
......
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