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