Should display more error information if verbose mode is on.
(self)
| 339 | self.validate_cmd("-q", file_path, stdout=stdout) |
| 340 | |
| 341 | def test_verbose_mode(self): |
| 342 | """Should display more error information if verbose mode is on.""" |
| 343 | with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as path: |
| 344 | stdout = textwrap.dedent( |
| 345 | "offending line: '\\tprint(\"world\")'" |
| 346 | ).strip() |
| 347 | self.validate_cmd("-v", path, stdout=stdout, partial=True) |
| 348 | |
| 349 | def test_double_verbose_mode(self): |
| 350 | """Should display detailed error information if double verbose is on.""" |
nothing calls this directly
no test coverage detected