From 418be10603cb9d43ce5b748ed8c0acfc0c5cc7e2 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Tue, 22 Nov 2016 23:08:49 +0100 Subject: [PATCH] Use render_servers for utf8-write-test --- tsstats/tests/test_log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tsstats/tests/test_log.py b/tsstats/tests/test_log.py index 1bf275a..0bd95ed 100644 --- a/tsstats/tests/test_log.py +++ b/tsstats/tests/test_log.py @@ -6,7 +6,7 @@ import pytest from tsstats.exceptions import InvalidLog from tsstats.log import TimedLog, _bundle_logs, _parse_details, parse_logs -from tsstats.template import render_template +from tsstats.template import render_servers from tsstats.tests.test_template import output_path testlog_path = 'tsstats/tests/res/test.log' @@ -93,6 +93,6 @@ def test_parse_groups(): def test_parse_utf8(): - clients = parse_logs(testlog_path + '.utf8')[0].clients - render_template(clients, output_path) + servers = parse_logs(testlog_path + '.utf8') + render_servers(servers, output_path) remove(output_path)