Mercurial > kallithea
view tox.ini @ 5262:b41bdfdb3b16
AuthSettingsController: refactor rendering
Instead of having one controller method ('auth_settings', which handles
POST) call another controller method ('index', which handles GET), have
both methods call a third, common '__render' method.
This makes it clear which arguments 'index' really takes (none). It's
also seen that the 'prefix_error' argument is always False, so it can
be removed. Finally, '__load_defaults' is no longer called twice when
POSTing invalid form values.
author | Søren Løvborg <kwi@kwi.dk> |
---|---|
date | Tue, 14 Jul 2015 13:59:59 +0200 |
parents | 8c1258f69892 |
children | 768989c595aa |
line wrap: on
line source
[tox] envlist = py{26,27}-{pytest,nose} [testenv] setenv = PYTHONHASHSEED = 0 deps = nose: nose pytest: pytest commands = nose: nosetests {posargs} pytest: py.test {posargs}