From 1ace4eda85ee57d723712c9f16c1d5bec61d36d5 Mon Sep 17 00:00:00 2001 From: Valentin Sulzer Date: Wed, 29 Apr 2020 10:49:44 -0400 Subject: [PATCH] #963 make path absolute in test --- tests/unit/test_parameters/test_parameter_values.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_parameters/test_parameter_values.py b/tests/unit/test_parameters/test_parameter_values.py index 649ee9f8eb..2c04971e33 100644 --- a/tests/unit/test_parameters/test_parameter_values.py +++ b/tests/unit/test_parameters/test_parameter_values.py @@ -388,7 +388,13 @@ def test_interpolant_against_function(self): "interpolation": "[data]lico2_data_example", }, path=os.path.join( - "input", "parameters", "lithium-ion", "cathodes", "lico2_Marquis2019" + pybamm.root_dir(), + "pybamm", + "input", + "parameters", + "lithium-ion", + "cathodes", + "lico2_Marquis2019", ), check_already_exists=False, )