Mercurial > kallithea
annotate dev_requirements.txt @ 6451:3fcb60a152f3
controllers: avoid setting constants as controller instance variables in __before__
Setting constants in __before__ is a weird pattern and we can do fine without doing it.
That makes it more clear that there is no state in the controller instances.
Real constants can just be set at the module level.
Some values depend on configuration and can thus probably not be set as
constants at module import time but could perhaps be set in __init__. But
reading configuration directly when needed will probably be just as good.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 22 Jan 2017 01:16:52 +0100 |
parents | 98dd27958280 |
children | 1f43d08ce5a8 |
rev | line source |
---|---|
6379
98dd27958280
test: bump pytest minimum version
Søren Løvborg <sorenl@unity3d.com>
parents:
6148
diff
changeset
|
1 pytest ~= 3.0 |
6026
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
2 pytest-runner |
6148
28b1d67b1601
tests: drop upper bound to pytest-sugar version
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
6147
diff
changeset
|
3 pytest-sugar>=0.7.0 |
6027
7d258b3fbc49
setup: introduce pytest-catchlog as test dependency
Mads Kiilerich <madski@unity3d.com>
parents:
6026
diff
changeset
|
4 pytest-catchlog |
6137
3521120e72bc
setup: limit WebTest version to <2.0
domruf <dominikruf@gmail.com>
parents:
6027
diff
changeset
|
5 WebTest<2 # this is also a Pylons dependency and pinned in setup.py to avoid version conflicts for WebOb |
6026
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
6 mock |
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
7 sphinx |