Update test_debug for new debug-label
This commit is contained in:
parent
a3d4cdde5b
commit
a96200dafa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue