Skip to content

Commit

Permalink
add test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
copelco committed Feb 28, 2020
1 parent 47eb797 commit a60002c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE = ratom.settings.local
DJANGO_SETTINGS_MODULE = ratom.settings.test
addopts = --reuse-db --cov=api --cov=etl --cov=core --cov-report=html --cov-report=term -vvv
5 changes: 5 additions & 0 deletions ratom/settings/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from ratom.settings.dev import * # noqa

ELASTICSEARCH_INDEX_NAMES = {
"api.documents.message": "test_message",
}

0 comments on commit a60002c

Please sign in to comment.