Prefix clientlist-filter with section-filter

because navbar-entries are also li
This commit is contained in:
Thor77 2016-11-23 21:06:55 +01:00
parent 2cdcdd1e5b
commit ef66b45e21
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def test_debug(output):
soup = BeautifulSoup(open(output_path), 'html.parser')
# check debug-label presence
assert soup.find_all(style='color: red; padding-right: 10px;')
for client_item in soup.find_all('li'):
for client_item in soup.find('ul', id='1.onlinetime').find_all('li'):
nick = client_item.find('span').text
# check for right identifier
nick, encl_identifier = nick.split()