Skip to content

Commit

Permalink
Speed up test_save_predictions (#1631)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyVatolin authored Dec 25, 2024
1 parent e8e1a50 commit 1b06601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def test_create_meta_from_existing(existing_readme_name: str, gold_readme_name:


def test_save_predictions():
command = f"{sys.executable} -m mteb run -m all-MiniLM-L6-v2 -t NFCorpus --output_folder tests/results --save_predictions"
command = f"{sys.executable} -m mteb run -m average_word_embeddings_komninos -t NFCorpus --output_folder tests/results --save_predictions"
result = subprocess.run(command, shell=True, capture_output=True, text=True)
assert result.returncode == 0, "Command failed"
test_folder = Path(__file__).parent
Expand Down

0 comments on commit 1b06601

Please sign in to comment.