diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-06-12 10:05:25 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-06-12 11:02:47 +0200 |
commit | e45455ec8206d676ff3513dc56456a7e27bc402b (patch) | |
tree | cb8690e4540bc6b8767a0f58d0e62b207f25dd07 | |
parent | 8322fd6acbbe5d5c937a04e1696512d2889cc2e1 (diff) |
#915 Remove unnecessary return in ogAdmServer/tests/run-tests.py
No need to explicit return call, remove it.
-rwxr-xr-x | tests/run-tests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index 0491ccb..f0ddb87 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -17,15 +17,11 @@ def start_mysql(): subprocess.run(['mysql', '-D', 'test-db', '-e', sql_data]) subprocess.run(['mysql', '-D', 'test-db', '-e', sql_create_user]) - return - def stop_mysql(): subprocess.run(['mysql', '-D', 'test-db', '-e', sql_delete_user]) subprocess.run(['mysqladmin', 'drop', '-f', 'test-db']) - return - if os.getuid() is not 0: print('You need to be root to run these tests :-)') exit() |