MCPcopy
hub / github.com/scrapy/scrapy / test_get

Method test_get

tests/test_utils_request.py:331–334  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

329 assert curl_command == expected_curl_command
330
331 def test_get(self):
332 request_object = Request("https://www.example.com")
333 expected_curl_command = "curl -X GET https://www.example.com"
334 self._test_request(request_object, expected_curl_command)
335
336 def test_post(self):
337 request_object = Request(

Callers

nothing calls this directly

Calls 2

_test_requestMethod · 0.95
RequestClass · 0.90

Tested by

no test coverage detected