Fix serialization of repeated fields with empty messages (#180)

Extend test config and utils to support exclusion of certain json samples from
testing for symetry.
This commit is contained in:
nat
2021-04-06 02:50:45 +02:00
committed by GitHub
parent deb623ed14
commit 7368299a70
8 changed files with 78 additions and 25 deletions

View File

@@ -19,3 +19,10 @@ services = {
"example_service",
"empty_service",
}
# Indicate json sample messages to skip when testing that json (de)serialization
# is symmetrical becuase some cases legitimately are not symmetrical.
# Each key references the name of the test scenario and the values in the tuple
# Are the names of the json files.
non_symmetrical_json = {"empty_repeated": ("empty_repeated",)}