mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-08-11 00:18:43 -04:00
Fix template test for debug mode
This commit is contained in:
parent
ce6529be00
commit
e9f1de310c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def test_debug(output):
|
|||
logger.setLevel(logging.INFO)
|
||||
soup = BeautifulSoup(open(output_path), 'html.parser')
|
||||
# check debug-label presence
|
||||
assert soup.find('nav').find('span').text == 'debug mode'
|
||||
assert soup.find('nav').find(id='main-nav').find('span').text == 'debug mode'
|
||||
for client_item in soup.find('ul', id='1.onlinetime').find_all('li'):
|
||||
nick = client_item.find('span').text
|
||||
# check for right identifier
|
||||
|
|
Loading…
Add table
Reference in a new issue