Update test settings

This commit is contained in:
Ramon Wenger 2020-06-30 11:37:52 +02:00
parent dc0d6523cd
commit a2bbb6b26a
2 changed files with 2 additions and 11 deletions

View File

@ -1,15 +1,6 @@
from .settings import *
class DisableMigrations(object):
def __contains__(self, item):
return True
def __getitem__(self, item):
return None
MIGRATION_MODULES = DisableMigrations()
MIGRATION_MODULES = {}
# Email Settings
SENDGRID_API_KEY = ""

View File

@ -3,7 +3,7 @@
set -e
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
python -m coverage run manage.py test $1
python -m coverage run manage.py test --settings=core.settings_test $1
coverage_python=`coverage report -m | tail -n1 | awk '{print $4}'`
commit=`git rev-parse HEAD`