diff options
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index f0ddb87..126105d 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -30,8 +30,7 @@ start_mysql(); subprocess.Popen(['../ogAdmServer', '-f', 'config/ogAdmServer.cfg']) -for filename in glob.iglob('units/**'): - subprocess.run(['python3', filename, '-v']) +subprocess.run('python3 -m unittest discover -s units -v', shell=True) stop_mysql(); |