Skip to content

TestlinkAPIClient does not accept optional argument 'transport' for proxy configuration  #56

Closed
@lczub

Description

@lczub

proxy configuration, introduced with #36, only works with api class TestlinkAPIGeneric
the api class TestlinkAPIClient does not accept optional arguments like transport.

tl_helper = TestLinkHelper(proxy='PROXY-71')
myTestLink = tl_helper.connect(TestlinkAPIClient)

Traceback (most recent call last):
  File "D:\Projekte\Testlink-Python-API\Issues\20150601_issue55_getProjects\getProjects_from_demo.py", line 42, in <module>
    myTestLink = tl_helper.connect(TestlinkAPIClient)
  File "D:\Projekte\git\TestLink-API-Python-client\src\testlink\testlinkhelper.py", line 143, in connect
    return tl_api_class(self._server_url, self._devkey, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'transport'

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions