From e45455ec8206d676ff3513dc56456a7e27bc402b Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 12 Jun 2019 10:05:25 +0200 Subject: #915 Remove unnecessary return in ogAdmServer/tests/run-tests.py No need to explicit return call, remove it. --- tests/run-tests.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/run-tests.py') 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() -- cgit v1.2.3-18-g5258