-
Notifications
You must be signed in to change notification settings - Fork 235
[Test-Proxy] Custom matcher for body keys only #3171
Copy link
Copy link
Closed
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.Test-ProxyAnything relating to test-proxy requests or issues.Anything relating to test-proxy requests or issues.help wantedThis issue is tracking work for which community contributions would be welcomed and appreciatedThis issue is tracking work for which community contributions would be welcomed and appreciated
Metadata
Metadata
Assignees
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.Test-ProxyAnything relating to test-proxy requests or issues.Anything relating to test-proxy requests or issues.help wantedThis issue is tracking work for which community contributions would be welcomed and appreciatedThis issue is tracking work for which community contributions would be welcomed and appreciated
Type
Projects
Status
🎊 Closed
Key Vault tests currently use a custom json_attribute_matcher with
vcrpyas a custom request matcher. This checks that the keys in request bodies match, without enforcing an ordering and without comparing body values.It would be great if we could support this kind of matching with the test proxy, as it probably would have uses outside of KV for tests that have consistently-structured bodies with possibly (expectedly) inconsistent values.
@scbedd