KennethEnevoldsen
commited on
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
|
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 |
|