Exemple #1
0
def _delete_incall_association(line_extension):
    incall = incall_dao.find_by_extension_id(line_extension.extension_id)
    incall_dao.delete(incall)
    extension_dao.dissociate_extension(line_extension.extension_id)
Exemple #2
0
def _delete_incall_association(line_extension):
    incall = incall_dao.find_by_extension_id(line_extension.extension_id)
    incall_dao.delete(incall)
    extension_dao.dissociate_extension(line_extension.extension_id)
Exemple #3
0
    def test_given_user_incall_model_then_deletes_dialaction_row(self):
        incall = self.create_user_incall()

        dao.delete(incall)

        self.assert_dialaction_row_deleted(incall.id)
Exemple #4
0
    def test_given_user_incall_model_then_deletes_dialaction_row(self):
        incall = self.create_user_incall()

        dao.delete(incall)

        self.assert_dialaction_row_deleted(incall.id)