Skip to content

TestLinkExample fails running against latest testlink_1_9_20_fixed #150

Open
@lczub

Description

@lczub

issue #149 reports failing TestLinkExample running against testlink_1_9_20_fixed in sample line 713 - myTestLink.copyTCnewVersion()

try to reproduce this with new build TL Server with testlink_1_9_20_fixed, using testlink-pg-docker - build-and-run-testlink-1920fixed lets fail running TestLinkExample already in sample line 367 -

createBuild [{'status': True, 'operation': 'createBuild', 'id': '1', 'message': 'Success!'}]
New Build 'TestlinkAPIClient v0.8.2-dev148' - id: 1
Traceback (most recent call last):
  File "D:\git\TestLink-API-Python-client\example\TestLinkExample.py", line 367, in <module>
    response = myTestLink.assignTestCaseExecutionTask( myTestUserName, 
  File "D:\git\TestLink-API-Python-client\src\testlink\testlinkdecorators.py", line 112, in wrapperAddDevKey
    return methodAPI(self, *argsPositional, **argsOptional)
  File "D:\git\TestLink-API-Python-client\src\testlink\testlinkdecorators.py", line 99, in wrapperWithArgs
    return self.callServerWithPosArgs(methodAPI.__name__, 
  File "D:\git\TestLink-API-Python-client\src\testlink\testlinkapigeneric.py", line 1597, in callServerWithPosArgs
    self._checkResponse(response, methodNameAPI, argsOptional) 
  File "D:\git\TestLink-API-Python-client\src\testlink\testlinkapigeneric.py", line 2181, in _checkResponse
    raise testlinkerrors.TLResponseError(
testlink.testlinkerrors.TLResponseError: 3041: Test plan (name:TestPlan_API A) has no platforms linked
assignTestCaseExecutionTask({'buildid': '1', 'platformname': 'Big Birds 39', 'devKey': '48072c25257af9f477a22c97a3858337', 'user': 'pyTLapi', 'testplanid': '2', 'testcaseexternalid': 'NPROAPI39-1'})```

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions