MCPcopy
hub / github.com/cherrypy/cherrypy / test_gc

Method test_gc

cherrypy/test/helper.py:283–291  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

281 do_gc_test = False
282
283 def test_gc(self):
284 if not self.do_gc_test:
285 return
286
287 self.getPage('/gc/stats')
288 try:
289 self.assertBody('Statistics:')
290 except Exception:
291 'Failures occur intermittently. See #1420'
292
293 def prefix(self):
294 return self.script_name.rstrip('/')

Callers

nothing calls this directly

Calls 1

getPageMethod · 0.95

Tested by

no test coverage detected