Bug 726133 - XMLRPC: Implement TestRun.remove_cases()
Summary: XMLRPC: Implement TestRun.remove_cases()
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: cqi
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-27 16:00 UTC by Petr Šplíchal
Modified: 2022-03-14 03:26 UTC (History)
5 users (show)

Fixed In Version: 3.7.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Petr Šplíchal 2011-07-27 16:00:46 UTC
Description of problem:

Currently there is only TestRun.add_cases() function for adding
test cases to a run. Please, implement corresponding remove_cases
function so that we're able to remove case runs as well. Thanks.

Version-Release number of selected component (if applicable):
Nitrate 3.5.0

Comment 1 cqi 2012-04-09 09:50:45 UTC
(In reply to comment #0)
> Description of problem:
> 
> Currently there is only TestRun.add_cases() function for adding
> test cases to a run. Please, implement corresponding remove_cases
> function so that we're able to remove case runs as well. Thanks.
> 
> Version-Release number of selected component (if applicable):
> Nitrate 3.5.0

The new XMLRPC method TestRun.remove_cases has the same arguments as the TestRun.add_cases'.

Comment 2 Xin Gao 2012-04-24 11:50:57 UTC
Verify version 3.7.0-1 on stage -> PASS

Steps:
Configure Nitrate xml-rpc and make sure the xml-rpc work well.
Configure step pls refer to following link,
https://mirrorglass.englab.nay.redhat.com/XWiki/bin/view/Main/How%20to%20configure%20and%20use%20xml-rpc
Login with your kerberos account and password
enter into python dev env: $ python
import natrite: >>>from nitrate import NitrateKerbXmlrpc
Specify server: >>>n=NitrateKerbXmlrpc('XXX')
note: 'XXX' is TCMS env, such as: 'https://tcms.englab.nay.redhat.com/'

Call method,
>>>n.server.TestRun.remove_cases(1234, 54321)

Actual result:
result is the related test case run will be removed in the test run.


Note You need to log in before you can comment on or make changes to this bug.