summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFrédéric Mangano-Tarumi <fmang@mg0.fr>2020-02-23 19:52:36 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-27 16:44:36 +0100
commit81d55e70ee0469018af86d203ceaf2fece691ea8 (patch)
tree8a766d24632b496ab524af175bc1448ac6885917 /test
parente4cbe264cf6949f82338b7de705cba90c15f4d24 (diff)
downloadaur-81d55e70ee0469018af86d203ceaf2fece691ea8.tar.gz
aur-81d55e70ee0469018af86d203ceaf2fece691ea8.tar.xz
Disable Alembic support on test databases
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r--test/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/setup.sh b/test/setup.sh
index 12f6edcc..cad5cd66 100644
--- a/test/setup.sh
+++ b/test/setup.sh
@@ -110,7 +110,7 @@ SSH_TTY=/dev/pts/0
export SSH_CLIENT SSH_CONNECTION SSH_TTY
# Initialize the test database.
-python -m aurweb.initdb
+python -m aurweb.initdb --no-alembic
echo "INSERT INTO Users (ID, UserName, Passwd, Email, LangPreference, AccountTypeID) VALUES (1, 'user', '!', 'user@localhost', 'en', 1);" | sqlite3 aur.db
echo "INSERT INTO Users (ID, UserName, Passwd, Email, LangPreference, AccountTypeID) VALUES (2, 'tu', '!', 'tu@localhost', 'en', 2);" | sqlite3 aur.db