Improve skip for unit test or pep8

This commit is contained in:
Joe Gordon 2013-09-19 16:28:45 -07:00
parent 1f39714ad2
commit e3853ce537

View File

@ -54,6 +54,7 @@ class Stream(object):
for line in event['comment'].split('\n'):
if "FAILURE" in line and ("python2" in line or "pep8" in line):
# Unit Test Failure
found = False
break
if "FAILURE" in line and "tempest-devstack" in line:
url = [x for x in line.split() if "http" in x][0]