From dd262682966395a876f82cf017a15e009d911d98 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Mon, 4 Dec 2023 15:56:45 +0100 Subject: [PATCH] Duplicate test names fixed --- test/test_relation_extraction/test_llama_relation_extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_relation_extraction/test_llama_relation_extractor.py b/test/test_relation_extraction/test_llama_relation_extractor.py index 3de1fa4..1b531ea 100644 --- a/test/test_relation_extraction/test_llama_relation_extractor.py +++ b/test/test_relation_extraction/test_llama_relation_extractor.py @@ -45,7 +45,7 @@ def test_handle_post_request_raises_exception_if_prompt_llm_fail(self, mock_extr @mock.patch('relation_extraction.multilingual.llm_messenger.LLMMessenger.prompt_llm') @mock.patch('relation_extraction.multilingual.main.parse_data') @mock.patch('relation_extraction.ontology_messenger.OntologyMessenger.send_request') - def test_handle_post_request_raises_exception_if_prompt_llm_fail(self, mock_extract_specific_relations, mock_parse_data, mock_prompt_llm, mock_send_to_db): + def test_handle_post_request_raises_exception_if_send_to_db_fail(self, mock_extract_specific_relations, mock_parse_data, mock_prompt_llm, mock_send_to_db): mock_extract_specific_relations.return_value = [] mock_parse_data.return_value = [] mock_prompt_llm.return_value = {}