Bug 1145909

Summary: [xmlrpc] user can invoke TestCaseRun.create to create caserun, while the document tell user it will return ValueError.
Product: [Other] TCMS Reporter: yangqiu <qiyang>
Component: XMLRPCAssignee: Yang Ren <ryang>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.8.11CC: cqi, ryang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[xmlrpc] user can invoke TestCaseRun.create to create caserun, while the document tell user it will return ValueError. none

Description yangqiu 2014-09-24 06:08:32 UTC
Created attachment 940678 [details]
[xmlrpc] user can invoke TestCaseRun.create to create caserun, while the document tell user it will return ValueError.

Description of problem:
as summary.

Version-Release number of selected component (if applicable):
v3.8.11-1 on qa server.

How reproducible:
100%

Steps to Reproduce:
1.Invoke TestCaseRun.create to create caserun, like the follow, system will save the caserun.
In [46]: values = {
   ....:       'run': 72398,
   ....:       'case': 293343,
   ....:       'build': 2148,
   ....:   }

In [47]: n.TestCaseRun.create(values)
Out[47]: 
{'assignee': 'sluo',
 'assignee_id': 2978,
 'build': '2012-04-23_09-23-46',
 'build_id': 2148,
 'case': '[virtual block][virtio scsi] acpi operation after hot-unplug device',
 'case_id': 293343,
 'case_run_id': 5983549,
 'case_run_status': 'IDLE',
 'case_run_status_id': 1,
 'case_text_version': 1,
 'close_date': None,
 'environment_id': 0,
 'links': [],
 'notes': '',
 'run': 'Auto TestRun for [Rhevm][Networking][3.1 Features] Export / Import Vm TestPlan',
 'run_id': 72398,
 'running_date': None,
 'sortkey': None,
 'tested_by': None,
 'tested_by_id': None}
2.Inspect the service document for TestCaseRun.create, there is a tips like:
*** It always report - ValueError: invalid literal for int() with base 10: '' ***

Actual results:
The tips for this method was redundant.

Expected results:
Remove the redundant tips in service document.

Additional info: