We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4587a23 commit 7f22dadCopy full SHA for 7f22dad
project/run_tests.sh
@@ -1,5 +1,7 @@
1
#!/usr/bin/env sh
2
-
+sudo pip install -r requirements/test.txt
3
+sudo -u postgres service postgresql start
4
+export PGPASSWORD=asylum; while true; do psql -q asylum -c 'SELECT 1;' 1>/dev/null 2>&1 ; if [ "$?" -ne "0" ]; then echo "Waiting for psql"; sleep 1; else break; fi; done
5
sudo -u postgres psql -U postgres -d postgres -c "alter user asylum createdb;"
6
-./manage.py test $*
7
+py.test $*
0 commit comments