Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
roaga committed Nov 2, 2024
1 parent c05d383 commit e9fc910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_invoke_handles_none_response(self, component):
def test_invoke_formats_prompt_correctly(self, component):
mock_llm_client = MagicMock(spec=LlmClient)
mock_event_details = MagicMock(spec=EventDetails)
mock_event_details.__str__.return_value = "Test event details"
mock_event_details.format_event.return_value = "Test event details"

module = Module()
module.constant(LlmClient, mock_llm_client)
Expand Down

0 comments on commit e9fc910

Please sign in to comment.