Home / Function/ test_DIGEST_AUTH_SETS_SESSION_COOKIES() — requests Function Reference

test_DIGEST_AUTH_SETS_SESSION_COOKIES() — requests Function Reference

Architecture documentation for the test_DIGEST_AUTH_SETS_SESSION_COOKIES() function in test_requests.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  dbfc6af1_e4ae_6dd1_bcbd_c68b52cc7250["test_DIGEST_AUTH_SETS_SESSION_COOKIES()"]
  22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"]
  dbfc6af1_e4ae_6dd1_bcbd_c68b52cc7250 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14
  style dbfc6af1_e4ae_6dd1_bcbd_c68b52cc7250 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 767–773

    def test_DIGEST_AUTH_SETS_SESSION_COOKIES(self, httpbin):
        for authtype in self.digest_auth_algo:
            url = httpbin("digest-auth", "auth", "user", "pass", authtype)
            auth = HTTPDigestAuth("user", "pass")
            s = requests.Session()
            s.get(url, auth=auth)
            assert s.cookies["fake"] == "fake_value"

Domain

Subdomains

Frequently Asked Questions

What does test_DIGEST_AUTH_SETS_SESSION_COOKIES() do?
test_DIGEST_AUTH_SETS_SESSION_COOKIES() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_DIGEST_AUTH_SETS_SESSION_COOKIES() defined?
test_DIGEST_AUTH_SETS_SESSION_COOKIES() is defined in tests/test_requests.py at line 767.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free