view pytest.ini @ 6000:023d9202481e

setup: use modern bcrypt implementation instead of unsupported old one py-bcrypt has been deprecated by bcrypt, and is no longer developed or supported. bcrypt requires bytestrings instead of strings, use safe_str to ensure they're encoded before they're passed to bcrypt. Also, use check_pw to minimise the number of manual conversions and comparisons. Installation of bcrypt will probably compile a C extension and require libffi-dev.
author Andrew Shadura <andrew@shadura.me>
date Sun, 03 Jul 2016 12:21:00 +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