Merge pull request #957 from DimStar77/ttm-dry
totest-manager: do not post on dry runs
This commit is contained in:
commit
0ec8b1f294
@ -237,7 +237,7 @@ class ToTestBase(object):
|
||||
|
||||
if not ignored:
|
||||
number_of_fails += 1
|
||||
if not labeled and len(refs) > 0:
|
||||
if not labeled and len(refs) > 0 and not self.dryrun:
|
||||
data = {'text': 'label:unknown_failure'}
|
||||
self.openqa.openqa_request(
|
||||
'POST', 'jobs/%s/comments' % job['id'], data=data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user