From eb73a23ab11a43b7d5e1438843a8a8434d8c4a24 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 29 Oct 2025 18:53:50 -0500 Subject: [PATCH] flatten --- tests/script/test_determine_jobs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/script/test_determine_jobs.py b/tests/script/test_determine_jobs.py index ad658cd53c..e73c134151 100644 --- a/tests/script/test_determine_jobs.py +++ b/tests/script/test_determine_jobs.py @@ -152,14 +152,14 @@ def test_main_all_tests_should_run( assert output["memory_impact"]["should_run"] == "false" assert output["cpp_unit_tests_run_all"] is False assert output["cpp_unit_tests_components"] == ["wifi", "api", "sensor"] - # component_test_batches should be present and be a list of lists + # component_test_batches should be present and be a list of space-separated strings assert "component_test_batches" in output assert isinstance(output["component_test_batches"], list) - # Each batch should be a list of component names + # Each batch should be a space-separated string of component names for batch in output["component_test_batches"]: - assert isinstance(batch, list) - for component in batch: - assert isinstance(component, str) + assert isinstance(batch, str) + # Should contain at least one component (no empty batches) + assert len(batch) > 0 def test_main_no_tests_should_run(