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

Method testCookies

tests/test_browser.py:49–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48class BrowserTest(unittest.TestCase):
49 def testCookies(self):
50 b = app.browser()
51 b.open("http://0.0.0.0/setcookie?x=1&y=2")
52 b.open("http://0.0.0.0/cookie")
53 self.assertEqual(b.text, "x,y")
54
55 def testNotfound(self):
56 b = app.browser()

Callers

nothing calls this directly

Calls 2

browserMethod · 0.80
openMethod · 0.80

Tested by

no test coverage detected