Run proxito tests with proxito settings
@@ -19,7 +19,14 @@ passenv = CI TRAVIS TRAVIS_*
deps = -r{toxinidir}/requirements/testing.txt
changedir = {toxinidir}/readthedocs
commands =
- pytest --cov-report= --cov-config {toxinidir}/.coveragerc --cov=. --suppress-no-test-exit-code {posargs:{env:TOX_POSARGS:-m 'not search'}}
+ /bin/sh -c '\
+ export DJANGO_SETTINGS_MODULE=readthedocs.settings.test; \
+ pytest --cov-report= --cov-config {toxinidir}/.coveragerc --cov=. --suppress-no-test-exit-code -m "not proxito" {posargs:{env:TOX_POSARGS:-m "not search and not proxito"}}'
+
+ /bin/sh -c '\
+ export DJANGO_SETTINGS_MODULE=readthedocs.settings.proxito.test; \
+ pytest --cov-report= --cov-config {toxinidir}/.coveragerc --cov=. --cov-append -m proxito --suppress-no-test-exit-code {posargs}'
+
[testenv:docs]
description = build readthedocs documentation
