MCPcopy
hub / github.com/django/django / atest_cookie_worked

Method atest_cookie_worked

django/contrib/sessions/backends/base.py:116–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 return self.get(self.TEST_COOKIE_NAME) == self.TEST_COOKIE_VALUE
115
116 async def atest_cookie_worked(self):
117 return (await self.aget(self.TEST_COOKIE_NAME)) == self.TEST_COOKIE_VALUE
118
119 def delete_test_cookie(self):
120 del self[self.TEST_COOKIE_NAME]

Callers 1

test_atest_cookieMethod · 0.80

Calls 1

agetMethod · 0.95

Tested by 1

test_atest_cookieMethod · 0.64