summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/docker/entrypoint.sh2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/docker/entrypoint.sh b/tools/docker/entrypoint.sh
index 6314f1b..8f7ea4f 100755
--- a/tools/docker/entrypoint.sh
+++ b/tools/docker/entrypoint.sh
@@ -26,7 +26,7 @@ reset_data_mysql() {
DROP DATABASE IF EXISTS patchwork;
CREATE DATABASE patchwork CHARACTER SET utf8;
GRANT ALL ON patchwork.* TO 'patchwork' IDENTIFIED BY 'password';
-GRANT ALL PRIVILEGES ON test_patchwork.* TO 'patchwork'@'%';
+GRANT ALL ON 'test_patchwork\_%'.* to 'patchwork'@'%';
FLUSH PRIVILEGES;
EOF
}
diff --git a/tox.ini b/tox.ini
index 0849b05..28f29f6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,7 @@ passenv =
PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST
PW_TEST_DB_PORT
commands =
- python {toxinidir}/manage.py test --noinput {posargs:patchwork}
+ python {toxinidir}/manage.py test --noinput --parallel -- {posargs:patchwork}
[testenv:bashate]
deps = bashate