Commit 28453d17 authored by Jérome Perrin's avatar Jérome Perrin

test_check_slow_queries_digest_result: fix filename

this was not html.

Also use os.path.join to manipulate paths
parent 80d5d1b6
......@@ -44,7 +44,7 @@ class TestCheckSlowQueriesDigestResult(unittest.TestCase):
def _create_file(self, date, with_content):
content = ''
if with_content:
with + "/ptdigest.html", encoding='utf-8') as f:
with, "ptdigest.txt"), encoding='utf-8') as f:
content =
name = date.strftime('slowquery_digest.txt-%Y-%m-%d.xz')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment