From a96200dafaf47856edee6b5d0d9a29e6988ce442 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Wed, 23 Nov 2016 21:04:51 +0100 Subject: [PATCH] Update test_debug for new debug-label --- tsstats/tests/test_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/tests/test_template.py b/tsstats/tests/test_template.py index d0cf500..cdbd83d 100644 --- a/tsstats/tests/test_template.py +++ b/tsstats/tests/test_template.py @@ -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_all(class_='alert alert-danger') + assert soup.find_all(style='color: red; padding-right: 10px;') for client_item in soup.find_all('li'): nick = client_item.find('span').text # check for right identifier