diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-10-07 12:11:59 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-07 14:05:02 +0200 |
commit | 5b1efd0b533be974c165548eaa749cba480d060b (patch) | |
tree | 79a4b1c6202a7c049d1c6bfcba30dd93b4a4fe72 /tests/run-tests.py | |
parent | 35f067bf90a8bcfd37246f2ddb1299fd3fd7bbaf (diff) |
#915 Add default SQL schema for tests
This schema is now adapted to work on this repository instead of the
"OpenGnsys" general repository.
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index ba28acd..11becc0 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -13,7 +13,7 @@ def start_mysql(): subprocess.run(['mysqladmin', 'drop', '-f', 'test-db'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) subprocess.run(['mysqladmin', 'create', 'test-db']) - subprocess.run('mysql --default-character-set=utf8 test-db < ../../../../Database/ogAdmBD.sql', shell=True) + 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', '-D', 'test-db', '-e', sql_create_user]) |