forked from mozilla/telemetry-airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (30 loc) · 839 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
envlist = py27
skipsdist = True
[testenv]
deps=
pytest
pytest-mock
moto
-r{toxinidir}/requirements.txt
setenv =
PYTHONPATH = {toxinidir}/plugins:{toxinidir}/dags
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:///{toxworkdir}/airflow.db
AIRFLOW__CORE__UNIT_TEST_MODE = True
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
# required by test_moz_databricks_operator
AWS_REGION = test
SPARK_BUCKET = test
PRIVATE_OUTPUT_BUCKET = test
PUBLIC_OUTPUT_BUCKET = test
DEPLOY_ENVIRONMENT = dev
DEPLOY_TAG = dev
ARTIFACTS_BUCKET = test
DATABRICKS_DEFAULT_IAM = test
EMR_INSTANCE_TYPE = test
AIRFLOW__CORE__FERNET_KEY="0000000000000000000000000000000000000000000="
SLUGIFY_USES_TEXT_UNIDECODE = yes
commands=
airflow resetdb -y
python -m pytest {posargs}