MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fake_post

Function fake_post

experiments/tests/test_paper_stack.py:464–469  ·  view source on GitHub ↗
(url, headers=None, json=None, timeout=None)

Source from the content-addressed store, hash-verified

462 }
463
464 def fake_post(url, headers=None, json=None, timeout=None):
465 captured["url"] = url
466 captured["headers"] = headers
467 captured["json"] = json
468 captured["timeout"] = timeout
469 return FakeResponse()
470
471 monkeypatch.setenv("NSCALE_API_KEY", "sk-nscale-test-key")
472 monkeypatch.setenv("NSCALE_BASE_URL", "https://api.test.nscale.com")

Callers

nothing calls this directly

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected