summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2019-06-12 10:05:25 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-06-12 11:02:47 +0200
commite45455ec8206d676ff3513dc56456a7e27bc402b (patch)
treecb8690e4540bc6b8767a0f58d0e62b207f25dd07 /tests/run-tests.py
parent8322fd6acbbe5d5c937a04e1696512d2889cc2e1 (diff)
#915 Remove unnecessary return in ogAdmServer/tests/run-tests.py
No need to explicit return call, remove it.
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py4
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()