#915 Remove unnecessary return in ogAdmServer/tests/run-tests.py

No need to explicit return call, remove it.
master
Javier Sánchez Parra 2019-06-12 10:05:25 +02:00 committed by OpenGnSys Support Team
parent 8322fd6acb
commit e45455ec82
1 changed files with 0 additions and 4 deletions

View File

@ -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()