File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ class TestCase:
66
66
for case in cases :
67
67
got = response .to (case .req , case .ttl )
68
68
self .assertEqual (
69
- json_format .MessageToJson (case .want ),
70
- json_format .MessageToJson (got ),
69
+ json_format .MessageToJson (case .want , sort_keys = True ),
70
+ json_format .MessageToJson (got , sort_keys = True ),
71
71
"-want, +got" ,
72
72
)
73
73
@@ -185,8 +185,8 @@ class TestCase:
185
185
got_selector = case .rsp .requirements .resources [case .name ]
186
186
187
187
self .assertEqual (
188
- json_format .MessageToJson (case .want_selector ),
189
- json_format .MessageToJson (got_selector ),
188
+ json_format .MessageToJson (case .want_selector , sort_keys = True ),
189
+ json_format .MessageToJson (got_selector , sort_keys = True ),
190
190
case .reason ,
191
191
)
192
192
You can’t perform that action at this time.
0 commit comments