MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / test_less_rerank

Method test_less_rerank

inference/test/test_rerank.py:115–120  ·  view source on GitHub ↗
(self, test_data)

Source from the content-addressed store, hash-verified

113 @pytest.mark.test_id("inference_033")
114 @pytest.mark.parametrize("test_data", less_input_list)
115 async def test_less_rerank(self, test_data):
116 res = await rerank(test_data)
117 res_json = res.json()
118 assert res.status_code == 422, res.json()
119 assert res_json.get("status") == "error"
120 assert res_json.get("error").get("code") == "REQUEST_VALIDATION_ERROR"

Callers

nothing calls this directly

Calls 3

rerankFunction · 0.90
jsonMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected