Also test Postorius on deploy

This commit is contained in:
Aurélien Bompard 2015-09-21 10:57:30 +00:00
parent 07fb19d7b2
commit 0b2658eb42
2 changed files with 9 additions and 1 deletions

View file

@ -25,7 +25,7 @@ $BASEDIR/bin/pg-give-rights.py > /dev/null
restorecon -r "$BASEDIR"
# Run unit tests
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty postorius
# Reload Apache to flush the python cache
systemctl reload httpd

View file

@ -16,3 +16,11 @@ DATABASES = {
'NAME': ':memory:',
}
}
# Mailman API credentials for testing Postorius
MAILMAN_API_URL = 'http://localhost:9001'
MAILMAN_USER = 'restadmin'
MAILMAN_PASS = 'restpass'
VCR_RECORD_MODE = 'once'
USE_SSL = False