Mercurial > kallithea
annotate pytest.ini @ 6965:7b73f54d84dc
js: refactor and simplify @mentions handling - no functional changes
The autocompleteCreate and get_mention functions are inlined.
The mentionQuery and tuple in datasource are replaced with before/search/after
data attributes on the $container element.
Variable use is simplified - less variables, better naming, and better content.
The @ is now in the before string, not in the search string.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 31 Oct 2017 03:16:58 +0100 |
parents | d88077fae3d6 |
children | afa5e0bdb76f |
rev | line source |
---|---|
5700
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
1 [pytest] |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
2 # only look for tests in kallithea/tests |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
3 python_files = kallithea/tests/**/test_*.py |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
4 addopts = |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
5 # --verbose |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
6 # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings. |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
7 -rfEsxXw |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
8 # Shorter scrollbacks; less stuff to scroll through |
d88077fae3d6
pytest migration: switch to pytest; remove nose support
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
9 --tb=short |