From f87ac17506c9ec47c973d7942a2951a3e953c2b5 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 31 May 2022 08:14:51 +0200 Subject: [PATCH] Make sure generated test order is stable --- tests/modules/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/conftest.py b/tests/modules/conftest.py index 8071a4ab9..7b938d3f5 100644 --- a/tests/modules/conftest.py +++ b/tests/modules/conftest.py @@ -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):