Datasets:
mteb
/

KennethEnevoldsen commited on
Commit
1c9228a
·
unverified ·
1 Parent(s): e1bbb85

Added mock cache dir

Browse files
tests/mock_cache_dir/readme.md ADDED
@@ -0,0 +1 @@
 
 
1
+ this is just a mock cache directory, which implements a folder with a link to the results folder in root.
tests/mock_cache_dir/results/results ADDED
@@ -0,0 +1 @@
 
 
1
+ ../../../results
tests/test_load_results.py CHANGED
@@ -6,7 +6,7 @@ import mteb
6
 
7
  def test_load_results():
8
  """Ensures that files can be loaded using MTEB"""
9
- tests_path = Path(__file__).parent.parent / "results"
10
 
11
  os.environ["MTEB_CACHE"] = str(tests_path)
12
 
 
6
 
7
  def test_load_results():
8
  """Ensures that files can be loaded using MTEB"""
9
+ tests_path = Path(__file__).parent / "mock_cache_dir"
10
 
11
  os.environ["MTEB_CACHE"] = str(tests_path)
12