From 69cc458bd33038e3f60069d74904b17161349f0d Mon Sep 17 00:00:00 2001 From: Eneko Martin Martinez Date: Mon, 9 Aug 2021 22:31:14 +0200 Subject: [PATCH] Update tests from run from any folder --- tests/integration_test_vensim_pathway.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_test_vensim_pathway.py b/tests/integration_test_vensim_pathway.py index 3c61c7cd..c1d50f38 100644 --- a/tests/integration_test_vensim_pathway.py +++ b/tests/integration_test_vensim_pathway.py @@ -191,7 +191,7 @@ def test_input_functions(self): assert_frames_close(output, canon, rtol=rtol) def test_invert_matrix(self): - output, canon = runner('test-models/tests/invert_matrix/test_invert_matrix.mdl') + output, canon = runner(test_models + '/invert_matrix/test_invert_matrix.mdl') assert_frames_close(output, canon, rtol=rtol) def test_limits(self): @@ -330,7 +330,7 @@ def test_subrange_merge(self): assert_frames_close(output, canon, rtol=rtol) def test_subscript_logicals(self): - output, canon = runner('test-models/tests/subscript_logicals/test_subscript_logicals.mdl') + output, canon = runner(test_models + '/subscript_logicals/test_subscript_logicals.mdl') assert_frames_close(output, canon, rtol=rtol) def test_subscript_multiples(self):