diff options
| author | bd <bdunahu@operationnull.com> | 2025-07-19 22:21:10 -0600 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-07-19 22:21:10 -0600 |
| commit | ac55d9ff0b588b91202ccad72ee71e508e33ad08 (patch) | |
| tree | 4933b49b67f1affa16f8e7c63e0d214bfa7d62e8 /run_tests.py | |
| parent | d08f067f8f470b440b563293397116d6036c4d71 (diff) | |
Reformat repository to allow for new unit tests
Diffstat (limited to 'run_tests.py')
| -rw-r--r-- | run_tests.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py new file mode 100644 index 0000000..ff11fb5 --- /dev/null +++ b/run_tests.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 +import unittest +import sys + +if __name__ == '__main__': + sys.path.append('t/') + sys.path.append('aergia/') + t_loader = unittest.defaultTestLoader + t_runner = unittest.TextTestRunner(verbosity=2) + t = ['test_functionality'] + + t_suite = t_loader.loadTestsFromNames(t) + result = t_runner.run(t_suite) + sys.exit(not result.wasSuccessful()) |
