mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
tests: Fix "Different tests were collected" in python 3.5
pytest-xdist requires all subprocesses to collect the tests in the same order. Python 3.5, however, randomizes order of dict keys.
This commit is contained in:
parent
bc471ec94a
commit
f2d1c162e2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ markup_headers = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(params=markup_headers)
|
@pytest.fixture(params=sorted(markup_headers.keys()))
|
||||||
def test_syntax(request):
|
def test_syntax(request):
|
||||||
markup = request.param
|
markup = request.param
|
||||||
format_header_dict = markup_headers[markup]
|
format_header_dict = markup_headers[markup]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue