Files @ 24b61c257aab
Branch filter:

Location: kallithea/dev_requirements.txt - annotation

Thomas De Schampheleire
forms: wrap LoginForm inside function like other forms

All forms except LoginForm are wrapped inside a function. The original
purpose of this wrapping seems to be the ability to pass parameters to tweak
the form.

But, this also has another desired effect: translation of strings
wrapped with _ is no longer attempted when reading the class definition, but
only when the function is instantiated. In the former case, it is not
guaranteed that a translator is actually available because we are not
running in standard application context.

Align LoginForm with the others.
1
2
3
4
5
6
7
pytest>=2.7.0,<4.0
pytest-runner
pytest-sugar>=0.7.0
pytest-catchlog
WebTest<2 # this is also a Pylons dependency and pinned in setup.py to avoid version conflicts for WebOb
mock
sphinx