The main function. Return: int: The process return code.
()
| 113 | |
| 114 | |
| 115 | def main(): |
| 116 | ''' |
| 117 | The main function. |
| 118 | |
| 119 | Return: |
| 120 | int: The process return code. |
| 121 | ''' |
| 122 | results = unittest.main(exit=False) |
| 123 | return 0 if results.result.wasSuccessful() else 1 |
| 124 | |
| 125 | |
| 126 | if __name__ == '__main__': |