From 76868cae7e0c48e63fc075f5e0d57aec57c5ec6a Mon Sep 17 00:00:00 2001 From: Thor77 Date: Fri, 7 Aug 2015 15:54:37 +0200 Subject: [PATCH] general and template-tests conform pep8 --- tests/test_general.py | 3 ++- tests/test_template.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_general.py b/tests/test_general.py index 24cecf3..5f2a9f5 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -15,7 +15,8 @@ def test_main_config_not_found(): def test_main_idmap_load(): - main(config_path='tests/res/config.ini', id_map_path='tests/res/id_map.json') + main(config_path='tests/res/config.ini', + id_map_path='tests/res/id_map.json') def test_length(): diff --git a/tests/test_template.py b/tests/test_template.py index fbe5bee..ba0ff2d 100644 --- a/tests/test_template.py +++ b/tests/test_template.py @@ -24,4 +24,5 @@ class TestTemplate: render_template(clients, output_path) soup = BeautifulSoup(open(output_path), 'html.parser') # check onlinetime-data - assert _format_seconds(clients['1'].onlinetime) == soup.find('span').text + assert _format_seconds(clients['1'].onlinetime) == \ + soup.find('span').text