Mercurial > kallithea
annotate dev_requirements.txt @ 6220:7bffccee3a49
db: inline calls to get_all
This method saves basically no typing, compared to "query().all()".
Additionally, "all()" returns a list, forcing all records to be loaded
into a memory at the same time, but some callers just need to iterate
over the objects one at a time, in which case "query()" alone is more
efficient. In one case, the caller can even use "count()" and avoid
loading any objects from the database at all.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Fri, 23 Sep 2016 14:05:42 +0200 |
parents | 28b1d67b1601 |
children | 98dd27958280 |
rev | line source |
---|---|
6147
ca9c7cddb2bf
tests: bump pytest version requirement to allow 3.x
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
6137
diff
changeset
|
1 pytest>=2.7.0,<4.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 |