Improve asserts when checking metadata in autogenerated unit tests #2024
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
See this comment and this comment from PR #1999 related to improving the asserts in unit tests when metadata is tested.
gapic-generator-python/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_macros.j2
Lines 856 to 870 in 617222d
See feedback below:
1 - Headers may include more than 1 value
2 - The tests are brittle as tuples are equal only if they're equal element-wise; order matters.
The text was updated successfully, but these errors were encountered: