diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 000000000..6a7eed81e --- /dev/null +++ b/pytest.ini @@ -0,0 +1,11 @@ +[pytest] +testpaths = tests +env = + NOTIFY_ENVIRONMENT=test + ADMIN_CLIENT_SECRET=dev-notify-secret-key + API_HOST_NAME=test + DANGEROUS_SALT=dev-notify-salt + SECRET_KEY=dev-notify-secret-key + DESKPRO_API_HOST=test + DESKPRO_API_KEY=test + STATSD_PREFIX=stats-prefix diff --git a/requirements_for_test.txt b/requirements_for_test.txt index f4ba9ba05..ebd78061a 100644 --- a/requirements_for_test.txt +++ b/requirements_for_test.txt @@ -1,5 +1,6 @@ -r requirements.txt pytest==3.4.0 +pytest-env==0.6.2 pytest-mock==1.6.3 pytest-cov==2.5.1 pytest-xdist==1.22.0