Mercurial > kallithea
view tox.ini @ 5430:b36da33275a0
users: fix missing c.readonly in UsersController.update error rendering
The c.readonly attribute, while correctly set in UsersControllers.edit,
was not assigned in UsersControllers.update, causing a template error
if the form validation failed. This commit unifies template rendering
in separate method to fix this and avoid future problems.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 24 Aug 2015 12:25:56 +0200 |
parents | 768989c595aa |
children | 6a83b399bb3c |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py{26,27}-{pytest,nose} [testenv] setenv = PYTHONHASHSEED = 0 deps = nose: nose pytest: pytest commands = nose: nosetests {posargs} pytest: py.test {posargs}