Function
test_request_client
(scope: Scope, expected_client: Address | None)
Source from the content-addressed store, hash-verified
| 74 | ], |
| 75 | ) |
| 76 | def test_request_client(scope: Scope, expected_client: Address | None) -> None: |
| 77 | scope.update({"type": "http"}) # required by Request's constructor |
| 78 | client = Request(scope).client |
| 79 | assert client == expected_client |
| 80 | |
| 81 | |
| 82 | def test_request_body(test_client_factory: TestClientFactory) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected