MCPcopy Create free account
hub / github.com/Tong89/smartNode / test_compare_missing_params

Method test_compare_missing_params

tests/test_store.py:253–255  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

251 assert "metrics" in body["data"]
252
253 def test_compare_missing_params(self):
254 resp = self.client.get("/api/scenario/compare?a=A")
255 assert resp.status_code == 400
256
257 def test_compare_not_found(self):
258 resp = self.client.get("/api/scenario/compare?a=不存在&b=也不存在")

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected