view tox.ini @ 5963:85bb68f64597

notifications: improve response time when number of notifications is large NotificationsController always retrieved materialized list of all notifications in database, even to display only 10 of them. This is improved by feeding SQLAlchemy Query object directly to webhelpers.paginate.Page, avoiding eager load of all notifications.
author Konstantin Veretennicov <kveretennicov@gmail.com>
date Thu, 09 Jun 2016 20:41:44 +0200
parents 6a83b399bb3c
children b2195895bbd7
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py{26,27}-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    pytest: pytest
commands =
    pytest: py.test {posargs}