MCPcopy
hub / github.com/django/django / test_cookie_worked

Method test_cookie_worked

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

Source from the content-addressed store, hash-verified

111 await self.aset(self.TEST_COOKIE_NAME, self.TEST_COOKIE_VALUE)
112
113 def test_cookie_worked(self):
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

Callers 2

test_add_viewMethod · 0.80
test_test_cookieMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected