MCPcopy Index your code
hub / github.com/webpy/webpy / testRedirect

Method testRedirect

tests/test_session.py:107–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 self.assertEqual(b.open("/count").read(), b"1")
106
107 def testRedirect(self):
108 b = self.app.browser()
109 b.open("/redirect")
110 b.open("/session/request_token")
111 self.assertEqual(b.data, b"123")
112
113
114class DiskStoreTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

browserMethod · 0.80
openMethod · 0.80

Tested by

no test coverage detected