mirror of https://git.48k.eu/ogserver
#915 Remove unnecessary return in ogAdmServer/tests/run-tests.py
No need to explicit return call, remove it.master
parent
8322fd6acb
commit
e45455ec82
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue