# flake8: noqa from unittest.mock import MagicMock from .default import * DATABASES = { "default": { "ENGINE": "django.contrib.gis.db.backends.postgis", "HOST": "db.unbl.ink", "NAME": "sure_porchpals", "USER": "sure", "PASSWORD": "{{sure_db_pass}}", } } MONGODB_DATABASE = { "name": "platform_test", "host": "docdb.unbl.ink", "password": "{{mongo_db_pass}}", "username": "sure", "port": 27017, } GDAL_LIBRARY_PATH = "/opt/homebrew/lib/libgdal.dylib" GEOS_LIBRARY_PATH = "/opt/homebrew/lib/libgeos_c.dylib" ELASTICSEARCH_DSL = {"default": {"hosts": "elastic.unbl.ink:9200"}} CACHES.update( { "default": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache", }, "flags": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache", }, "redis": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache", }, } ) SECRET_SETTINGS = MagicMock() SECRET_SETTINGS.general.fernet_secret_key = ( "yBTJ1D_U5ertKcqmqIwgLcMGhOMwB0BM_tzmUn0BuII=" ) SECRET_SETTINGS.postmark.sure.api_key = "sure_postmark_api_key" SECRET_SETTINGS.postmark.porchcare.api_key = "porchcare_postmark_api_key" SECRET_SETTINGS.general.services_secret_key = open( PROJ_DIR + "/tests/test-jwt-key" ).read() SECRET_SETTINGS.payment_service.service_url = "https://foo.com" SECRET_SETTINGS.porchcare.base_url = "http://localhost.com" SECRET_SETTINGS.porchcare.claim_submit_email = "submit-claim@example.com" SECRET_SETTINGS.porchcare.dashboard_url = "http://dashboard.com" SECRET_SETTINGS.s3.statics.bucket_name = "static-bucket" SECRET_SETTINGS.s3.transfer_bucket_name = "surepreme-transfer-bucket" SECRET_SETTINGS.secretsmanager.gpg_secret_name = ( "/platform/testing/porchpals/gpg/private_key" ) SECRET_SETTINGS.holman.sftp.hostname = "sftp.com" SECRET_SETTINGS.holman.sftp.username = "user" SECRET_SETTINGS.holman.sftp.password = "pass" SECRET_SETTINGS.general.api_base_url = "https://api.porchpals.com"