Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,16 @@ def validate_test_groups(cls, value:Union[None, List[TestGroup]], info:Validatio

# iterate over the unit tests and create a TestGroup (and as a result, an IntegrationTest) for each
test_groups: list[TestGroup] = []
for unit_test in info.data.get("tests"):
test_group = TestGroup.derive_from_unit_test(unit_test, info.data.get("name"))

tests = info.data.get("tests", [])
for unit_test in tests:
test_group = TestGroup.derive_from_unit_test(unit_test, info.data["name"])
test_groups.append(test_group)

# now add each integration test to the list of tests
for test_group in test_groups:
info.data.get("tests").append(test_group.integration_test)
tests.append(test_group.integration_test)
info.data['tests'] = tests
return test_groups


Expand Down