JSONReporter's listTests only lists class-name if it is non-empty

This commit is contained in:
Martin Hořeňovský
2026-08-07 23:07:46 +02:00
parent a0eba50e9d
commit 0b4d7a5a16
12 changed files with 33 additions and 44 deletions
@@ -87,7 +87,7 @@ def get_test_names(build_path: str) -> List[TestInfo]:
with open(fname, mode='r', encoding='utf-8') as file:
test_listing = json.load(file)
assert test_listing['version'] == 1
assert test_listing['version'] == 2
tests = []
for test in test_listing['listings']['tests']: