Make sure generated test order is stable

This commit is contained in:
Tobias Gruetzmacher 2022-05-31 08:14:51 +02:00
parent 0e475d13d3
commit f87ac17506

View file

@ -41,7 +41,7 @@ def pytest_generate_tests(metafunc):
if 'scraperobj' in metafunc.fixturenames:
scrapers = get_test_scrapers()
scraperids = [x.name for x in scrapers]
metafunc.parametrize('scraperobj', scrapers, ids=scraperids)
metafunc.parametrize('scraperobj', scrapers, ids=sorted(scraperids))
class LoadModScheduling(LoadScopeScheduling):