[asterisk-bugs] [JIRA] (ASTERISK-25997) testsuite: Rest API tests that use autobahn fail with versions >= 0.13.1

George Joseph (JIRA) noreply at issues.asterisk.org
Fri May 6 09:35:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph reassigned ASTERISK-25997:
----------------------------------------

    Assignee: George Joseph

> testsuite:  Rest API tests that use autobahn fail with versions >=  0.13.1
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-25997
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25997
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>            Reporter: George Joseph
>            Assignee: George Joseph
>            Severity: Minor
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list