зеркало из https://github.com/mono/qa.git
* Fixed bug in framework with testcaseid
* fixed bug when updating Testopia with zero length list svn path=/trunk/qa/; revision=138761
This commit is contained in:
Родитель
2830f861e1
Коммит
4731de2a7f
|
@ -14,11 +14,11 @@ import monotesting as mono
|
|||
|
||||
|
||||
class monoTestCase(unittest.TestCase):
|
||||
testcaseid = 0
|
||||
|
||||
def __init__(self,methodname="runTest"):
|
||||
unittest.TestCase.__init__(self,methodname)
|
||||
self.verificationErrors = []
|
||||
self.testcaseid = 0
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
def isTestCaseInTestRun(self):
|
||||
|
|
|
@ -147,6 +147,8 @@ class monoTestopia(Testopia):
|
|||
if self.canConnect:
|
||||
status = status.upper()
|
||||
print "Updating %d %s test cases" % (len(ids),status)
|
||||
if len(ids) == 0:
|
||||
return
|
||||
caserun_ids = self.__convertToTestCaseRunIds(ids)
|
||||
self.testcaserun_update(caserun_ids=caserun_ids,case_run_status_id=BUG_STATUS[status])
|
||||
#else:
|
||||
|
|
Загрузка…
Ссылка в новой задаче