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

Method testNotfound

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

Source from the content-addressed store, hash-verified

53 self.assertEqual(b.text, "x,y")
54
55 def testNotfound(self):
56 b = app.browser()
57 b.open("http://0.0.0.0/notfound")
58 self.assertEqual(b.status, 404)
59
60 def testRedirect(self):
61 b = app.browser()

Callers

nothing calls this directly

Calls 2

browserMethod · 0.80
openMethod · 0.80

Tested by

no test coverage detected