(url, headers=None, json=None, timeout=None)
| 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") |
nothing calls this directly
no test coverage detected