def then_the_cti_is_notified_for_a_configuration_change(step): expression = "xivo[cticonfig,update]" log_lines = logs.find_line_in_xivo_sysconfd_log() assert_that(log_lines, has_item(contains_string(expression)))
def then_i_see_no_messages_in_sysconfd_log_file(step): expression = "'POST /exec_request_handlers HTTP/1.1' 200" log_lines = logs.find_line_in_xivo_sysconfd_log() assert_that(log_lines, is_not(has_item(contains_string(expression)))) general_settings_xivo_action_webi.enable_live_reload()
def then_the_cti_is_notified_for_a_configuration_change(step): expression = "xivo[cticonfig,update]" log_lines = logs.find_line_in_xivo_sysconfd_log() assert_that(log_lines, has_item(contains_string(expression)))
def then_i_see_messages_in_sysconfd_log_file(step): expression = "'POST /exec_request_handlers HTTP/1.1' 200" log_lines = logs.find_line_in_xivo_sysconfd_log() assert_that(log_lines, has_item(contains_string(expression)))