def test_people_personal_contacts_purged(self): result = CTIMessageFormatter.people_personal_contacts_purged() expected = {'class': 'people_personal_contacts_purged'} assert_that(result, equal_to(expected))
def _send_personal_contacts_purged(self, user_id, result): xuserid = 'xivo/{user_id}'.format(user_id=user_id) message = CTIMessageFormatter.people_personal_contacts_purged() self._cti_server.send_to_cti_client(xuserid, message)