From 80b5700713fa304973acaeb75122733c8c590502 Mon Sep 17 00:00:00 2001 From: paulmartrencharpro <148542350+paulmartrencharpro@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:33:53 +0100 Subject: [PATCH] Rename test Co-authored-by: Stefano Fiorucci --- integrations/fastembed/tests/test_fastembed_ranker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/fastembed/tests/test_fastembed_ranker.py b/integrations/fastembed/tests/test_fastembed_ranker.py index 7864d5301..e6bcfaf01 100644 --- a/integrations/fastembed/tests/test_fastembed_ranker.py +++ b/integrations/fastembed/tests/test_fastembed_ranker.py @@ -159,9 +159,9 @@ def test_from_dict_with_custom_init_parameters(self): assert ranker.meta_fields_to_embed == ["test_field"] assert ranker.meta_data_separator == " | " - def test_embed_incorrect_input_format(self): + def test_run_incorrect_input_format(self): """ - Test for checking incorrect input format when creating embedding. + Test for checking incorrect input format. """ ranker = FastembedRanker(model_name="Xenova/ms-marco-MiniLM-L-12-v2") ranker.warm_up()