Make sure generated test order is stable
This commit is contained in:
parent
0e475d13d3
commit
f87ac17506
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def pytest_generate_tests(metafunc):
|
||||||
if 'scraperobj' in metafunc.fixturenames:
|
if 'scraperobj' in metafunc.fixturenames:
|
||||||
scrapers = get_test_scrapers()
|
scrapers = get_test_scrapers()
|
||||||
scraperids = [x.name for x in scrapers]
|
scraperids = [x.name for x in scrapers]
|
||||||
metafunc.parametrize('scraperobj', scrapers, ids=scraperids)
|
metafunc.parametrize('scraperobj', scrapers, ids=sorted(scraperids))
|
||||||
|
|
||||||
|
|
||||||
class LoadModScheduling(LoadScopeScheduling):
|
class LoadModScheduling(LoadScopeScheduling):
|
||||||
|
|
Loading…
Reference in a new issue