From d2a649afbd637d58f1fe6e0fc126b6f22f0c7771 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Wed, 25 Jan 2023 08:08:03 +0100 Subject: [PATCH] [tests] Move output predictions into pytest-tempdir managed path --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 32d24f94..5a95c42a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -508,14 +508,14 @@ def test_train_signstotb_montgomery_rs(temporary_basedir, datadir): ) -def test_predict_signstotb_montgomery_rs(datadir): +def test_predict_signstotb_montgomery_rs(temporary_basedir, datadir): from ptbench.scripts.predict import predict runner = CliRunner() with stdout_logging() as buf: - output_folder = "predictions" + output_folder = str(temporary_basedir / "predictions") result = runner.invoke( predict, [ -- GitLab