diff options
Diffstat (limited to 'tests/test_settings.py')
| -rw-r--r-- | tests/test_settings.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/test_settings.py b/tests/test_settings.py index 29ec2c1..0f334f4 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -123,8 +123,7 @@ def test_settings_api_and_page_elements(tmp_path: Path) -> None: assert 'data-settings-screen="ui"' in html assert 'data-settings-screen="ollama"' in html num_keep = ( - 'data-option="num_keep" data-type="int" type="number" ' - 'step="1" placeholder="24"' + 'data-option="num_keep" data-type="int" type="number" step="1" placeholder="24"' ) assert num_keep in html assert "<|eot_id|>" in html @@ -159,9 +158,7 @@ def test_options_are_forwarded_to_tool_and_final_rounds(monkeypatch: pytest.Monk "message": { "role": "assistant", "content": "", - "tool_calls": [ - {"function": {"name": "missing_tool", "arguments": {}}} - ], + "tool_calls": [{"function": {"name": "missing_tool", "arguments": {}}}], } } return {"message": {"role": "assistant", "content": "done"}} |
