diff options
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index 90a0b2d..f252331 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -14,7 +14,8 @@ def start_mysql(): stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) subprocess.run(['mysqladmin', 'create', 'test-db']) subprocess.run('mysql --default-character-set=utf8 test-db < ../cfg/ogAdmBD.sql', shell=True) - subprocess.run(['mysql', '-D', 'test-db', '-e', sql_data]) + subprocess.run('mysql --default-character-set=utf8 test-db ' + '< config/basic_data.sql', shell=True) subprocess.run(['mysql', '-D', 'test-db', '-e', sql_create_user]) def stop_mysql(): |