Fix div 0 error and add new tests to list

This commit is contained in:
Kegan Dougal 2020-06-26 11:34:25 +01:00
parent 4897beabee
commit 9592d53364
2 changed files with 7 additions and 1 deletions

View File

@ -854,3 +854,7 @@ fbk Outbound federation rejects backfill containing invalid JSON for events in r
jso Invalid JSON integers jso Invalid JSON integers
jso Invalid JSON floats jso Invalid JSON floats
jso Invalid JSON special values jso Invalid JSON special values
inv Can invite users to invite-only rooms (2 subtests)
plv setting 'm.room.name' respects room powerlevel (2 subtests)
psh Messages that notify from another user increment notification_count
psh Messages that org.matrix.msc2625.mark_unread from another user increment org.matrix.msc2625.unread_count

View File

@ -159,6 +159,8 @@ def print_stats(header_name, gid_to_tests, gid_to_name, verbose):
total_tests = 0 total_tests = 0
for gid, tests in gid_to_tests.items(): for gid, tests in gid_to_tests.items():
group_total = len(tests) group_total = len(tests)
if group_total == 0:
continue
group_passing = 0 group_passing = 0
test_names_and_marks = [] test_names_and_marks = []
for name, passing in tests.items(): for name, passing in tests.items():