(self)
| 206 | input_file.close() |
| 207 | |
| 208 | def test_query_empty(self): |
| 209 | input_file = io.BytesIO() |
| 210 | |
| 211 | with stdin_as_string(input_file): |
| 212 | output = self.get_output(['--query', 'SELECT 1']) |
| 213 | self.assertEqual(output, '1\n1\n') |
| 214 | |
| 215 | input_file.close() |
| 216 | |
| 217 | def test_query_text(self): |
| 218 | sql = self.get_output(['--query', 'SELECT text FROM testfixed_converted WHERE text LIKE "Chicago%"', |
nothing calls this directly
no test coverage detected