From 25a9610d1a018404908c518868ccabc0dd7b91ab Mon Sep 17 00:00:00 2001 From: Luiko Czub Date: Tue, 1 Jul 2014 21:44:07 +0200 Subject: [PATCH] getTestCasesForTestSuite example - wrong argument detail #23 --- CHANGES.rst | 5 +++++ example/TestLinkExampleCustomFields.py | 2 +- example/TestLinkExampleGenericApi.py | 4 ++-- src/testlink/version.py | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index fcbe5e0..a010463 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,11 @@ Changes in TestLink-API-Python-client Source Distribution TestLink-API-Python-client UNDER DEVELOP v0.4.9 ----------------------------------------------------------- +implement 1.9.10 api change - getTestCasesForTestSuite #23 - under construction +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- parameter keywords + implement 1.9.10 api change - reportTCResult #24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/example/TestLinkExampleCustomFields.py b/example/TestLinkExampleCustomFields.py index 0bd90fe..152fce0 100644 --- a/example/TestLinkExampleCustomFields.py +++ b/example/TestLinkExampleCustomFields.py @@ -133,7 +133,7 @@ print "getTestSuiteByID", newTestSuite response = myTestLink.getTestCasesForTestSuite(newTestSuiteID_B, - deep=True, detail='full') + deep=True, details='full', getkeywords=True) print "getTestCasesForTestSuite", response # get informationen - TestCase_B diff --git a/example/TestLinkExampleGenericApi.py b/example/TestLinkExampleGenericApi.py index a30a43f..642486d 100644 --- a/example/TestLinkExampleGenericApi.py +++ b/example/TestLinkExampleGenericApi.py @@ -453,10 +453,10 @@ response = myTestLink.getTestSuitesForTestSuite(newTestSuiteID_A) print "getTestSuitesForTestSuite", response response = myTestLink.getTestCasesForTestSuite(newTestSuiteID_A, - deep=True, detail='full') + deep=True, details='full') print "getTestCasesForTestSuite", response response = myTestLink.getTestCasesForTestSuite(newTestSuiteID_B, - deep=False, detail='only_id') + deep=False, details='only_id') print "getTestCasesForTestSuite", response # get informationen - TestCase_B diff --git a/src/testlink/version.py b/src/testlink/version.py index 399a1e9..3b9a0bd 100644 --- a/src/testlink/version.py +++ b/src/testlink/version.py @@ -17,4 +17,4 @@ # # ------------------------------------------------------------------------ -VERSION = '0.4.9-dev-24' \ No newline at end of file +VERSION = '0.4.9-dev-23' \ No newline at end of file