Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ MockCookieJar
Class
MockCookieJar
Lib/test/test_urllib2.py:312–317 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
310
311
312
class
MockCookieJar:
313
def
add_cookie_header(self, request):
314
self.ach_req = request
315
316
def
extract_cookies(self, response, request):
317
self.ec_req, self.ec_r = request, response
318
319
320
class
FakeMethod:
Callers
1
test_cookies
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_cookies
Method · 0.68