Mercurial > kallithea
view tox.ini @ 6221:7c0b55fb3a85
controllers: remove redundant Repository database lookups
BaseRepoController already provides the repository object in c.db_repo
(may be None) and BaseController already provides the repository name
in c.repo_name (as given in the URL).
(Arguably, that's a bad design, and we should revisit that decision in
the future. For now, the code just performs slightly better.)
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 05 Sep 2016 18:08:14 +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}