MCPcopy
hub / github.com/cherrypy/cherrypy / testPublic

Method testPublic

cherrypy/test/test_auth_basic.py:83–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 cherrypy.tree.mount(root, config=conf)
82
83 def testPublic(self):
84 self.getPage('/')
85 self.assertStatus('200 OK')
86 self.assertHeader('Content-Type', 'text/html;charset=utf-8')
87 self.assertBody('This is public.')
88
89 def testBasic(self):
90 self.getPage('/basic/')

Callers

nothing calls this directly

Calls 1

getPageMethod · 0.80

Tested by

no test coverage detected