MCPcopy Create free account
hub / github.com/Pylons/webtest / test_flush

Method test_flush

tests/test_lint.py:322–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 "ErrorWrapper should call original writer")
321
322 def test_flush(self):
323 fake_error = self.FakeError()
324 error_wrapper = ErrorWrapper(fake_error)
325 error_wrapper.flush()
326 self.assertTrue(
327 fake_error.flushed,
328 "ErrorWrapper should have called original wsgi_errors's flush")

Callers

nothing calls this directly

Calls 2

flushMethod · 0.95
ErrorWrapperClass · 0.90

Tested by

no test coverage detected