Also test Postorius on deploy
This commit is contained in:
parent
07fb19d7b2
commit
0b2658eb42
2 changed files with 9 additions and 1 deletions
|
@ -25,7 +25,7 @@ $BASEDIR/bin/pg-give-rights.py > /dev/null
|
||||||
restorecon -r "$BASEDIR"
|
restorecon -r "$BASEDIR"
|
||||||
|
|
||||||
# Run unit tests
|
# 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
|
# Reload Apache to flush the python cache
|
||||||
systemctl reload httpd
|
systemctl reload httpd
|
||||||
|
|
|
@ -16,3 +16,11 @@ DATABASES = {
|
||||||
'NAME': ':memory:',
|
'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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue