Skip to content

Commit

Permalink
Set a SECRET_KEY in tests
Browse files Browse the repository at this point in the history
Fixes a test error on Django master

Refs. django/django@b3cffde
  • Loading branch information
jleclanche committed May 24, 2018
1 parent 161781b commit 69f4e7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ def run_test_suite(args):

settings.configure(
DEBUG=True,
USE_TZ=True,
TIME_ZONE="UTC",
SECRET_KEY="djstripe",
SITE_ID=1,
TIME_ZONE="UTC",
USE_TZ=True,
DATABASES={
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
Expand Down

0 comments on commit 69f4e7b

Please sign in to comment.