view tox.ini @ 6921:63f767bcdf98

commands: remove custom (re-)initializing of database model The model has already beeen initialized through TurboGears after make_app_without_logging has been called. Since kallithea.lib.utils2.engine_from_config no longer is used, remove it. All remaining references to engine_from_config are directly to the one from sqlalchemy.
author domruf <dominikruf@gmail.com>
date Wed, 16 Aug 2017 23:21:43 +0200
parents dd676fdeda0f
children ab30729c735c
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py{26,27}-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    py26-pytest: unittest2
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}