Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
aimspot committed Jun 26, 2024
1 parent 6c7df50 commit 38ee957
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import unittest
import os
import sys
from pathlib import Path
project_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.dirname(os.path.dirname(project_dir)))
from ODRS.src.data_processing.ml_processing.recommendation_module import predict_models
Expand All @@ -24,7 +25,7 @@ def test_data_path(self):
default = '/home/runner/work/ODRS/ODRS/user_datasets/WaRP/Warp-D'
ROOT = '/home/runner/work/ODRS/ODRS'
result = get_data_path(ROOT, default)
self.assertEqual(result, '/home/runner/work/ODRS/ODRS/user_datasets/Warp-D')
self.assertEqual(result, Path('/home/runner/work/ODRS/ODRS/user_datasets/Warp-D'))



Expand Down

0 comments on commit 38ee957

Please sign in to comment.