from __future__ import absolute_import
from .test import *

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': utils.get_env_setting('E2E_DB_NAME'),
        'USER': utils.get_env_setting('DB_USER'),
        'PASSWORD': utils.get_env_setting('DB_PASS'),
        'HOST': utils.get_env_setting('DB_HOST', '127.0.0.1')
    }
}

PIPELINE_DATA_BASEDIR = os.path.join(
    SITE_ROOT, 'pipeline', 'e2e-test-data', 'data', '')

PIPELINE_IMPORT_LOG_PATH=os.path.join(
    SITE_ROOT, 'pipeline', 'e2e-test-data', 'log.json')

from __future__ import absolute_import
from .test import *

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': utils.get_env_setting('E2E_DB_NAME'),
        'USER': utils.get_env_setting('DB_USER'),
        'PASSWORD': utils.get_env_setting('DB_PASS'),
        'HOST': utils.get_env_setting('DB_HOST', '127.0.0.1')
    }
}

PIPELINE_METADATA_DIR = os.path.join(SITE_ROOT, 'pipeline', 'metadata')

PIPELINE_DATA_BASEDIR = os.path.join(
    SITE_ROOT, 'pipeline', 'e2e-test-data', 'data', '')

PIPELINE_IMPORT_LOG_PATH=os.path.join(
    SITE_ROOT, 'pipeline', 'e2e-test-data', 'log.json')

Set PIPELINE_METADATA_DIR in settings.e2etest