mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-21 06:18:45 +02:00
28 lines
622 B
INI
28 lines
622 B
INI
[tox]
|
|
envlist = py27
|
|
|
|
[testenv]
|
|
changedir=test_project
|
|
commands =
|
|
python ../tests.py
|
|
coverage run --source ../modoboa manage.py test modoboa.core modoboa.lib modoboa.admin.tests modoboa.limits modoboa.relaydomains
|
|
deps =
|
|
-r{toxinidir}/test-requirements.txt
|
|
coverage
|
|
setenv =
|
|
DB=SQLITE
|
|
|
|
[testenv:serve]
|
|
changedir=test_project
|
|
whitelist_externals =
|
|
rm
|
|
commands =
|
|
rm -f modoboa_test.db
|
|
python manage.py migrate --no-input
|
|
python manage.py load_initial_data --extra-fixtures
|
|
python manage.py runserver
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=test_project.settings
|
|
DB=SQLITE
|
|
DEBUG=1
|