Improve skip for unit test or pep8
This commit is contained in:
parent
1f39714ad2
commit
e3853ce537
@ -54,6 +54,7 @@ class Stream(object):
|
|||||||
for line in event['comment'].split('\n'):
|
for line in event['comment'].split('\n'):
|
||||||
if "FAILURE" in line and ("python2" in line or "pep8" in line):
|
if "FAILURE" in line and ("python2" in line or "pep8" in line):
|
||||||
# Unit Test Failure
|
# Unit Test Failure
|
||||||
|
found = False
|
||||||
break
|
break
|
||||||
if "FAILURE" in line and "tempest-devstack" in line:
|
if "FAILURE" in line and "tempest-devstack" in line:
|
||||||
url = [x for x in line.split() if "http" in x][0]
|
url = [x for x in line.split() if "http" in x][0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user