MCPcopy Create free account
hub / github.com/apify/crawlee-python / cookie_dict

Function cookie_dict

tests/unit/sessions/test_cookies.py:9–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8@pytest.fixture
9def cookie_dict() -> CookieParam:
10 return CookieParam(
11 {
12 'name': 'test_cookie',
13 'value': 'test_value',
14 'domain': 'example.com',
15 'path': '/test',
16 'expires': 1735689600,
17 'http_only': True,
18 'secure': True,
19 'same_site': 'Strict',
20 }
21 )
22
23
24@pytest.fixture

Callers

nothing calls this directly

Calls 1

CookieParamClass · 0.90

Tested by

no test coverage detected