Skip to content

Commit

Permalink
Duplicate test names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus authored and Rasmus committed Dec 4, 2023
1 parent 91468d4 commit dd26268
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit dd26268

Please sign in to comment.