We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7e793 commit 9927ff3Copy full SHA for 9927ff3
tests/test_collect.py
@@ -50,8 +50,9 @@ def test_collect_tasks_from_modules_with_the_same_name(tmp_path):
50
report.outcome == CollectionOutcome.SUCCESS
51
for report in session.collection_reports
52
)
53
- assert session.collection_reports[0].node.function.__module__ == "a.task_module"
54
- assert session.collection_reports[1].node.function.__module__ == "b.task_module"
+ assert {
+ report.node.function.__module__ for report in session.collection_reports
55
+ } == {"a.task_module", "b.task_module"}
56
57
58
@pytest.mark.end_to_end()
0 commit comments