From adecf7404eba6d25799dfdca02572419c2832ce8 Mon Sep 17 00:00:00 2001 From: mahaalbashir Date: Thu, 19 Oct 2023 15:49:46 +0100 Subject: [PATCH] updating the tests --- test/test_initial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_initial.py b/test/test_initial.py index 41899b7..aecfe63 100644 --- a/test/test_initial.py +++ b/test/test_initial.py @@ -358,7 +358,7 @@ def test_rename_output(data, acro): results = acro.finalise(PATH) assert output_0.uid == new_name assert orig_name not in results.get_keys() - assert os.path.exists(f"outputs/{new_name}_0.csv") + assert os.path.exists(f"{PATH}/{new_name}_0.csv") # rename an output that doesn't exist with pytest.raises(ValueError): acro.rename_output("123", "name")