Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
executable file 44 lines (33 sloc) 904 Bytes
#!/usr/bin/env python
# Copyright 2013 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
<Program Name>
Konstantin Andrianov.
Zane Fisher.
January 26, 2013.
August 2013.
Modified previous behavior that explicitly imported individual
unit tests. -Zane Fisher
See LICENSE-MIT OR LICENSE for licensing information.
Run all the unit tests from every .py file beginning with "test_" in
'tuf/tests'. Use --random to run the tests in random order.
import sys
import unittest
if __name__ == "__main__":
suite = unittest.TestLoader().discover(".")
all_tests_passed = (
unittest.TextTestRunner(verbosity=1, buffer=True)
if not all_tests_passed: