From a6b61f0a4d3576c496878016859ad125b33b2e96 Mon Sep 17 00:00:00 2001 From: Teo Bucci Date: Sat, 6 Apr 2024 00:28:54 +0200 Subject: [PATCH] Fix path --- tests/test_hawk.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_hawk.py b/tests/test_hawk.py index 7bfd976..a9a0ae2 100644 --- a/tests/test_hawk.py +++ b/tests/test_hawk.py @@ -2,6 +2,8 @@ """Tests for `hawk` package.""" +import os + import pandas as pd import pytest from click.testing import CliRunner # noqa: F401 @@ -28,8 +30,8 @@ def test_content(response): def test_causal_analysis(): - df_train = pd.read_csv("hawk/analysis/demo/Ticino_train.csv", header=0) - df_test = pd.read_csv("hawk/analysis/demo/Ticino_test.csv", header=0) + df_train = pd.read_csv("hawk/demo/Ticino_train.csv", header=0) + df_test = pd.read_csv("hawk/demo/Ticino_test.csv", header=0) target_column_name = "target" pcmci_test_choice = "ParCorr" pcmci_max_lag = 0 @@ -54,3 +56,5 @@ def test_causal_analysis(): ) causal_analysis.run() + + os.system("rm -r tests/output")