From 654ac872862211f1bbf30f12d93d70aba651d8b8 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Fri, 4 Sep 2015 22:07:45 +0200 Subject: [PATCH] modify template-tests to ignore hint --- tests/test_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_template.py b/tests/test_template.py index ba0ff2d..35510ad 100644 --- a/tests/test_template.py +++ b/tests/test_template.py @@ -25,4 +25,4 @@ class TestTemplate: soup = BeautifulSoup(open(output_path), 'html.parser') # check onlinetime-data assert _format_seconds(clients['1'].onlinetime) == \ - soup.find('span').text + soup.find('span', class_='badge').text