Skip to content

Commit b7c00fb

Browse files
authored
skip tests for json generation (#3308)
1 parent 9ec7cb0 commit b7c00fb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/functional/test_llm_json.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
base_url = os.getenv("BASE_URL", "http://localhost:8000/v3")
2424

2525
logger = logging.getLogger(__name__)
26-
26+
xfail = pytest.mark.xfail
2727

2828
class TestSingleModelInference:
29-
29+
@xfail(reason="not implemented yet")
3030
def test_chat_with_tool_definition(self):
3131
"""
3232
<b>Description</b>
@@ -133,6 +133,7 @@ def test_chat_with_tool_definition(self):
133133
assert "15 degrees" in completion.choices[0].message.content
134134
assert completion.choices[0].message.tool_calls == []
135135

136+
@xfail(reason="not implemented yet")
136137
def test_chat_with_dual_tools_definition(self):
137138
"""
138139
<b>Description</b>
@@ -242,7 +243,7 @@ def test_chat_with_dual_tools_definition(self):
242243
print("Error:", e)
243244
assert True, f"It should fail with 2 tool calls"
244245

245-
246+
@xfail(reason="not implemented yet")
246247
def test_chat_with_tool_definition_stream(self):
247248
"""
248249
<b>Description</b>
@@ -304,7 +305,7 @@ def test_chat_with_tool_definition_stream(self):
304305
arguments += chunk.choices[0].delta.tool_calls[0].function.arguments
305306
assert arguments == '{"location": "Paris, France"}'
306307

307-
308+
@xfail(reason="not implemented yet")
308309
def test_chat_with_structured_output(self):
309310
"""
310311
<b>Description</b>

0 commit comments

Comments
 (0)