Should display usage on no arguments.
(self)
| 327 | self.validate_cmd(file_path) |
| 328 | |
| 329 | def test_command_usage(self): |
| 330 | """Should display usage on no arguments.""" |
| 331 | path = findfile('tabnanny.py') |
| 332 | stderr = f"Usage: {path} [-v] file_or_directory ..." |
| 333 | self.validate_cmd(stderr=stderr, expect_failure=True) |
| 334 | |
| 335 | def test_quiet_flag(self): |
| 336 | """Should display less when quite mode is on.""" |
nothing calls this directly
no test coverage detected