Run test suite with verbose output.
()
| 411 | |
| 412 | |
| 413 | def main() -> int: |
| 414 | """Run test suite with verbose output.""" |
| 415 | # Run tests |
| 416 | loader = unittest.TestLoader() |
| 417 | suite = loader.loadTestsFromModule(__import__(__name__)) |
| 418 | runner = unittest.TextTestRunner(verbosity=2) |
| 419 | result = runner.run(suite) |
| 420 | |
| 421 | # Print summary if all tests passed |
| 422 | if result.wasSuccessful(): |
| 423 | print_chipset_summary() |
| 424 | |
| 425 | return 0 if result.wasSuccessful() else 1 |
| 426 | |
| 427 | |
| 428 | if __name__ == "__main__": |
no test coverage detected