def test_not_modified(self): """ Save an unmodified BonitaUser """ user = BonitaUser(username=u'myusername', password=u'mypassword') # Mark user as unmodified user.clear_state() user.save() assert user.is_modified is False
def test_not_modified(self): """ Update professional contact infos for unmodified BonitaUser """ user = BonitaUser(username=u'myusername', password=u'mypassword') user._uuid = 'myuuid' # Mark user as unmodified user.clear_state() user._update_professional_contact_infos() assert user.is_modified is False
def test_not_modified(self): """ Update password for unmodified BonitaUser """ user = BonitaUser(username=u'myusername', password=u'mypassword') user._uuid = 'myuuid' # Mark user as unmodified user.clear_state() user._update_password() assert user.is_modified is False