mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-10 01:08:41 -04:00
Update test_debug for new debug-label
This commit is contained in:
parent
a3d4cdde5b
commit
a96200dafa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue