(self, **kwargs)
| 153 | class TestPasteVariables(unittest.TestCase): |
| 154 | |
| 155 | def call_FUT(self, **kwargs): |
| 156 | def application(environ, start_response): |
| 157 | resp = Response() |
| 158 | environ['paste.testing_variables'].update(kwargs) |
| 159 | return resp(environ, start_response) |
| 160 | return webtest.TestApp(application) |
| 161 | |
| 162 | def test_paste_testing_variables_raises(self): |
| 163 | app = self.call_FUT(body='1') |
no outgoing calls
no test coverage detected