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

Method test_close

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

Source from the content-addressed store, hash-verified

103 self.assertEqual(resp.body, b'hello\n-t\n')
104
105 def test_close(self):
106 input_wrapper = InputWrapper(None)
107 self.assertRaises(AssertionError, input_wrapper.close)
108
109 def test_iter(self):
110 data = to_bytes("A line\nAnother line\nA final line\n")

Callers

nothing calls this directly

Calls 1

InputWrapperClass · 0.90

Tested by

no test coverage detected