MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / assert_no_calls

Function assert_no_calls

python/openshell/sandbox_test.py:628–629  ·  view source on GitHub ↗
(_req: _httpx.Request)

Source from the content-addressed store, hash-verified

626 import httpx as _httpx
627
628 def assert_no_calls(_req: _httpx.Request) -> _httpx.Response:
629 raise AssertionError("should not refresh — disk was fresh")
630
631 _install_mock_transport(r, _httpx.MockTransport(assert_no_calls))
632 assert r.current_access_token() == "cli-rotated"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected