Skip to content

Commit

Permalink
Minor path error
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Jul 19, 2024
1 parent 70fbc63 commit ff23df1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/unit/test_data_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
logging_basic_config,
smart_unique,
)

from util import load_df


Expand Down
10 changes: 6 additions & 4 deletions tests/unit/test_spare_scores.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import sys
import unittest
from pathlib import Path
import sys

import pandas as pd

sys.path.append("../spare_scores")
from spare_scores import spare_test, spare_train
sys.path.append("../../spare_scores")
from util import load_df, load_model

from spare_scores import spare_test, spare_train


class CheckSpareScores(unittest.TestCase):

Expand Down Expand Up @@ -76,7 +78,7 @@ def test_spare_train(self):
)

status, result_data = result["status"], result["data"]

metadata = result_data[1]
self.assertTrue(status == "OK")
self.assertTrue(metadata["mdl_type"] == self.model_fixture[1]["mdl_type"])
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np
import pandas as pd

sys.path.append("../spare_scores")
sys.path.append("../../spare_scores")
from util import (
add_file_extension,
check_file_exists,
Expand Down

0 comments on commit ff23df1

Please sign in to comment.