Method
test_payload
(
self, factory: _ScrapyClientContextFactory, server_url: str
)
Source from the content-addressed store, hash-verified
| 120 | |
| 121 | @coroutine_test |
| 122 | async def test_payload( |
| 123 | self, factory: _ScrapyClientContextFactory, server_url: str |
| 124 | ) -> None: |
| 125 | s = "0123456789" * 10 |
| 126 | body = await self.get_page(server_url + "payload", factory, body=s) |
| 127 | assert body == to_bytes(s) |
| 128 | |
| 129 | @pytest.mark.skipif( |
| 130 | TWISTED_TLS_NEW_IMPL, |
Callers
nothing calls this directly
Tested by
no test coverage detected