diff options
author | yobmod <yobmod@gmail.com> | 2021-02-28 17:55:29 +0000 |
---|---|---|
committer | yobmod <yobmod@gmail.com> | 2021-02-28 17:55:29 +0000 |
commit | 9c6178f53233aa98a602854240a7a20b6537aa7b (patch) | |
tree | 5034aed88741387e379ff728a5e41e2eaab40e43 | |
parent | af7913cd75582f49bb8f143125494d7601bbcc0f (diff) | |
download | gitpython-9c6178f53233aa98a602854240a7a20b6537aa7b.tar.gz |
add testrunner.py to run all tests (as hook for static analysis)
-rw-r--r-- | test/testrunner.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/testrunner.py b/test/testrunner.py new file mode 100644 index 00000000..c66af653 --- /dev/null +++ b/test/testrunner.py @@ -0,0 +1,7 @@ +import unittest +loader = unittest.TestLoader() +start_dir = '.' +suite = loader.discover(start_dir) + +runner = unittest.TextTestRunner() +runner.run(suite)
\ No newline at end of file |