Update test_debug for new debug-label

This commit is contained in:
Thor77 2016-11-23 21:04:51 +01:00
parent a3d4cdde5b
commit a96200dafa
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def test_debug(output):
logger.setLevel(logging.INFO) logger.setLevel(logging.INFO)
soup = BeautifulSoup(open(output_path), 'html.parser') soup = BeautifulSoup(open(output_path), 'html.parser')
# check debug-label presence # check debug-label presence
assert soup.find_all(class_='alert alert-danger') assert soup.find_all(style='color: red; padding-right: 10px;')
for client_item in soup.find_all('li'): for client_item in soup.find_all('li'):
nick = client_item.find('span').text nick = client_item.find('span').text
# check for right identifier # check for right identifier