-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3171/
-----------------------------------------------------------

Review request for Asterisk Developers.


Repository: testsuite


Description
-------

Ran into an issue with a new installation while trying to run rest_api test 
originate:

    from autobahn.websocket import WebSocketClientFactory, \
ImportError: cannot import name WebSocketClientFactory

The websocket.py has been moved into the twisted subdir in autobahn 0.8.0.

This change catches that failing import and retries in the new location.

As an additional note: upon receiving "ImportError: cannot import name 
MsgPackSerializer" I discovered this was a bug in the earlier release of 0.8.0 
fixed here https://github.com/tavendo/AutobahnPython/issues/188 and should be 
corrected by reinstalling autobahn or installing from the version on github.


Diffs
-----

  /asterisk/trunk/lib/python/asterisk/ari.py 4634 

Diff: https://reviewboard.asterisk.org/r/3171/diff/


Testing
-------

Test tests/rest_api/channels/originate runs successfully after this change.


Thanks,

Scott Griepentrog

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to