view pytest.ini @ 6227:555c8d26988f

db: always add to session in Setting.create_or_update There's no use case for not adding the newly created Setting to the SQLAlchemy session (and thus, once we commit, the database). With this change, all the various "create" model methods add their result to the session.
author Søren Løvborg <sorenl@unity3d.com>
date Tue, 13 Sep 2016 18:40:49 +0200
parents d88077fae3d6
children afa5e0bdb76f
line wrap: on
line source

[pytest]
# only look for tests in kallithea/tests
python_files = kallithea/tests/**/test_*.py
addopts =
    # --verbose
    # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings.
    -rfEsxXw
    # Shorter scrollbacks; less stuff to scroll through
    --tb=short