From a43b7f8951c0bbb6a87d3944225eb3634f77205d Mon Sep 17 00:00:00 2001 From: John Sharples Date: Mon, 18 Nov 2024 16:03:28 +1100 Subject: [PATCH] 401: more sonarqube fixes --- test/test_agg_stat_bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_agg_stat_bootstrap.py b/test/test_agg_stat_bootstrap.py index 7a9158e5..db5d31c4 100644 --- a/test/test_agg_stat_bootstrap.py +++ b/test/test_agg_stat_bootstrap.py @@ -3,13 +3,13 @@ DEFAULT_CONF = { - "log_dir": "/tmp", "log_filename": "tmp.log", "log_level": "DEBUG", "agg_stat_input": AGG_STAT_AND_BOOT_DATA, } -def test_smoke(): +def test_smoke(tmp_path): """Basic test to check object instantiation""" + DEFAULT_CONF["log_dir"] = tmp_path asb.AggStatBootstrap(DEFAULT_CONF)