[Home]

Summary:ASTERISK-25997: testsuite: Rest API tests that use autobahn fail with versions >= 0.13.1
Reporter:George Joseph (gjoseph)Labels:
Date Opened:2016-05-04 16:19:53Date Closed:2016-05-26 12:31:37
Priority:MinorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:After upgrading autobahn to the latest (0.14.0) many of the res_api tests throw errors.   0.13.1 is also affected and it looks like 0.12.1 is the last working version.

{noformat}
Running ['./lib/python/asterisk/test_runner.py', 'tests/rest_api/channels/connected_line_update'] ...
Traceback (most recent call last):

 File "./lib/python/asterisk/test_runner.py", line 356, in <module>

   sys.exit(main() or 0)

 File "./lib/python/asterisk/test_runner.py", line 333, in main

   test_object = create_test_object(test_directory, test_config, ast_version)

 File "./lib/python/asterisk/test_runner.py", line 236, in create_test_object

   test_obj = module_obj(test_path, test_object_config)

 File "/usr/src/asterisk/testsuite/lib/python/asterisk/ari.py", line 169, in __init__

   super(AriTestObject, self).__init__(test_path, test_config)

 File "/usr/src/asterisk/testsuite/lib/python/asterisk/ari.py", line 79, in __init__

   subscribe_all=subscribe_all)

 File "/usr/src/asterisk/testsuite/lib/python/asterisk/ari.py", line 340, in __init__

   protocols=['ari'], debugCodePaths=True)

 File "/usr/lib/python2.7/site-packages/autobahn/twisted/websocket.py", line 278, in __init__

   protocol.WebSocketClientFactory.__init__(self, *args, **kwargs)

TypeError: __init__() got an unexpected keyword argument 'debugCodePaths'

Test ['./lib/python/asterisk/test_runner.py', 'tests/rest_api/channels/connected_line_update', 'GIT-13-13.4.0.0-1137-g45dc39e'] failed
{noformat}

Comments: