def then_the_queue_members_xlet_for_queue_1_should_display_agents( step, queue_name): queue_id = queue_helper.find_queue_id_with_name(queue_name) cti_helper.set_queue_for_queue_members(queue_id) res = cti_helper.get_queue_members_infos() assert_that(res['return_value']['row_count'], greater_than(0))
def then_the_queue_members_xlet_for_queue_1_is_empty(step, queue_name): queue_id = queue_helper.find_queue_id_with_name(queue_name) cti_helper.set_queue_for_queue_members(queue_id) res = cti_helper.get_queue_members_infos() assert_that(res['return_value']['row_count'], equal_to(0))
def then_the_queue_members_xlet_is_empty(step): res = cti_helper.get_queue_members_infos() assert_that(res['return_value']['row_count'], equal_to(0))
def then_the_queue_members_xlet_for_queue_1_should_display_agents(step, queue_name): queue_id = queue_helper.find_queue_id_with_name(queue_name) cti_helper.set_queue_for_queue_members(queue_id) res = cti_helper.get_queue_members_infos() assert_that(res['return_value']['row_count'], greater_than(0))