From 6e759a300e91cb1388940e4bbf90a3b8dd691730 Mon Sep 17 00:00:00 2001 From: Mateusz Masiarz Date: Fri, 22 Sep 2023 16:56:31 +0200 Subject: [PATCH] Change conftest --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index b1e56f15..40e91f58 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -65,7 +65,7 @@ def pytest_configure(config): data = yaml.load(f, Loader=yaml.FullLoader) try: - if "tests" in data: + if "tests" in data and data["tests"] != {}: print(f"Removing tests cache for `{os.path.basename(md5sum_file)}`") data["tests"] = {} with open(md5sum_file, "w") as f: