[Asterisk-code-review] testsuite: Python 3 compatibility inital commit (testsuite[development/16/python3])

Michael Bradeen asteriskteam at digium.com
Tue Mar 15 16:14:47 CDT 2022


Attention is currently required from: Michael Bradeen.
Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/testsuite/+/18199

to look at the new patch set (#2).

Change subject: testsuite: Python 3 compatibility inital commit
......................................................................

testsuite: Python 3 compatibility inital commit

Multiple changes for compatibility.  Requires latest version of all
pre-requisites and assumes a change in starpy to replace the now
protected data field async with asyncrn.

Changes also to print, replaced old library references, broke up
sub-parameters, etc.

Twisted input to realtime is bytes, while internally strings are used
so multiple changes required in order to convert back and forth

Change-Id: Ic7a1d72b174df59107370fcb03fae9dc4cdfc9d3
---
M contrib/scripts/cel-to-yaml.py
M contrib/scripts/rlmi_demo.py
M lib/python/asterisk/matcher_listener.py
M lib/python/asterisk/pluggable_modules.py
M lib/python/asterisk/realtime_test_module.py
M lib/python/asterisk/syncami.py
M lib/python/asterisk/test_case.py
M lib/python/asterisk/test_runner.py
M lib/python/protocols/ipstack.py
M lib/python/protocols/layer4/tcp.py
M tests/agi/nominal/run-test
M tests/apps/chanspy/chanspy_w_mixmonitor/run-test
M tests/apps/directory/directory_attendant_exit/run-test
M tests/apps/directory/directory_context_operator_exit/run-test
M tests/apps/directory/directory_operator_exit/run-test
M tests/apps/voicemail/check_voicemail_options_change_password/voicemailpwcheck.py
M tests/blind-transfer-parkingtimeout/run-test
M tests/bridge/bridge_action/bridge_action.py
M tests/channels/SIP/noload_res_srtp/run-test
M tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test
M tests/channels/SIP/refer_replaces_to_self/run-test
M tests/channels/SIP/secure_bridge_media/run-test
M tests/channels/SIP/sip_blind_transfer/caller_refer_only/run-test
M tests/channels/SIP/sip_one_legged_transfer_v6/run-test
M tests/channels/SIP/sip_srtp/srtp_call/run-test
M tests/channels/SIP/tcpauthtimeout/timeout_should_happen/timeout.py
M tests/channels/pjsip/resolver/naptr/explicit_transport_configured/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/order/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/preference/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/preference_failover/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/restricted_transport/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/transport_tcp/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/transport_udp/dns_zones/example.com
M tests/channels/pjsip/resolver/naptr/transport_unspecified/dns_zones/example.com
M tests/channels/pjsip/rtp/bind_rtp_to_media_address/rtp.py
M tests/channels/pjsip/rtp/rtp_keepalive/base/rtp.py
M tests/channels/pjsip/rtp/rtp_keepalive/direct_media/rtp.py
M tests/codecs/audio_analyzer.py
M tests/fastagi/channel-status/run-test
M tests/fastagi/connect/run-test
M tests/fastagi/database/run-test
M tests/fastagi/record-file/run-test
M tests/fastagi/stream-file/run-test
M tests/fastagi/wait-for-digit/run-test
M tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py
M tests/fax/sip/gateway_g711_t38/run-test
M tests/fax/sip/gateway_mix1/run-test
M tests/fax/sip/gateway_mix3/run-test
M tests/fax/sip/gateway_mix4/run-test
M tests/fax/sip/gateway_native_t38/run-test
M tests/fax/sip/gateway_no_t38/run-test
M tests/fax/sip/gateway_t38_g711/run-test
M tests/fax/sip/gateway_timeout1/run-test
M tests/fax/sip/gateway_timeout2/run-test
M tests/fax/sip/gateway_timeout3/run-test
M tests/fax/sip/gateway_timeout4/run-test
M tests/fax/sip/gateway_timeout5/run-test
M tests/funcs/func_srv/run-test
M tests/hep/hep_capture_node.py
M tests/manager/userevent/event.py
M tests/masquerade/run-test
M tests/rtp/strict_rtp/strict_rtp_seqno/strict_rtp.py
M tests/rtp/strict_rtp/strict_rtp_yes/strict_rtp.py
63 files changed, 441 insertions(+), 407 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/99/18199/2
-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/18199
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: development/16/python3
Gerrit-Change-Id: Ic7a1d72b174df59107370fcb03fae9dc4cdfc9d3
Gerrit-Change-Number: 18199
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Attention: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220315/9ccf7238/attachment-0001.html>


More information about the asterisk-code-review mailing list