Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferjiangkells committed Nov 5, 2024
1 parent 4dab2f5 commit ea6327d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/pipeline/prebuilt/test_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def test_summarization_pipeline(mock_cds_fhir_connector, mock_llm, test_cds_requ
# Verify that the LLM was called
mock_llm.assert_called_once_with(
ModelConfig(
source=ModelSource.HUGGINGFACE, model_id="llama3", path=None, config={}
source=ModelSource.HUGGINGFACE,
model_id="llama3",
path=None,
config={"task": "summarization"},
)
)
mock_llm.return_value.assert_called_once()
Expand Down

0 comments on commit ea6327d

Please sign in to comment.