Skip to content

Commit

Permalink
updates conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Nov 29, 2024
1 parent fbf36c8 commit db072a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ jobs:
-e DATABASE_URL=${DATABASE_URL} \
-e CELERY_BROKER_URL=${CELERY_BROKER_URL} \
-e CACHE_URL=${CACHE_URL} \
-e HOPE_API_URL="https://dev-hope.unitst.org/api/rest/" \
-v "./output/:/app/output" \
-v "./src/:/app/src" \
-v "./tests:/app/tests" \
Expand Down
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def pytest_configure(config):
os.environ["CELERY_TASK_STORE_EAGER_RESULT"] = "1"
os.environ["SECURE_HSTS_PRELOAD"] = "0"
os.environ["EXTRA_APPS"] = "country_workspace.contrib.hope"
os.environ["HOPE_API_URL"] = "https://dev-hope.unitst.org/api/rest/"
os.environ["HOPE_API_TOKEN"] = "kugiugiuygiuygiuygiuhgiuhgiuhgiugiu"
os.environ["AURORA_API_URL"] = "https://aurora.io/api/"

os.environ["SECRET_KEY"] = "kugiugiuygiuygiuygiuhgiuhgiuhgiugiu"
os.environ["FILE_STORAGE_DEFAULT"] = "django.core.files.storage.FileSystemStorage?location=./~tests/storage/"
Expand Down

0 comments on commit db072a7

Please sign in to comment.