Exemple #1
0
def when_i_remove_the_codec_from_the_line_with_number(step, codec, linenumber):
    line_id = line_helper.find_line_id_with_exten_context(
        linenumber, 'default')
    common.open_url('line', 'edit', {'id': line_id})
    _open_codec_page()
    codec_widget = CodecWidget()
    codec_widget.remove(codec)
    form.submit.submit_form()
Exemple #2
0
def when_i_disable_sccp_codecs_customization(step):
    common.open_url('sccpgeneralsettings')
    codec_widget = CodecWidget()
    codec_widget.uncustomize()
    submit.submit_form()
Exemple #3
0
def when_i_customize_sccp_codecs_to(step):
    common.open_url('sccpgeneralsettings')
    codec_widget = CodecWidget()
    codec_widget.customize(item['codec'] for item in step.hashes)
    submit.submit_form()
def when_i_disable_sccp_codecs_customization(step):
    common.open_url('sccpgeneralsettings')
    codec_widget = CodecWidget()
    codec_widget.uncustomize()
    submit.submit_form()
def when_i_customize_sccp_codecs_to(step):
    common.open_url('sccpgeneralsettings')
    codec_widget = CodecWidget()
    codec_widget.customize(item['codec'] for item in step.hashes)
    submit.submit_form()
Exemple #6
0
def _add_custom_codec(codec):
    _open_codec_page()
    codec_widget = CodecWidget()
    codec_widget.add(codec)