view pytest.ini @ 7082:a385bbbae672

less: run lessc with --relative-urls so relative paths are rewritten 25e079891ff5 broke select2 - it did for example no longer display the search symbol in the input field. The css had a relative path to 'select2.png' which no longer was correct when the literal reference moved to style.css . Bootstrap had the same issue with '../fonts/glyphicons-halflings-regular.*' ... but we do not rely much on that. As a quick fix, just adjust the relative reference and keep pointing at the original location. A next step might be to copy files around in a cross platform compliant way, reliably at the right point in the development/build/install process.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 03 Jan 2018 03:41:21 +0100
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