def run_unit_tests(): from unittest import TextTestRunner from tests.unittest import load_tests result = TextTestRunner(verbosity=2).run(load_tests()) if not result.wasSuccessful(): raise RuntimeError("Unittest failed.")
def run_unit_tests(): from unittest import TextTestRunner from tests.unittest import load_tests result = TextTestRunner(verbosity=2).run(load_tests()) if not result.wasSuccessful(): raise RuntimeError("Unittest failed.")
def run_unit_tests(): from unittest import TextTestRunner from tests.unittest import load_tests TextTestRunner(verbosity=2).run(load_tests())