mozilla-services/contile

Avoid hardcoding contile's user-agent in contract-tests

data-sync-user opened this issue · 2 comments

When matching the output of the fake partner’s response records, we must include a value for contile’s user-agent header, e.g. contile/1.8.1.

That value obviously changes per each new release, so it would be nice to have laxer matching requirements for it (or some other solution) so test match values don’t need to be adjusted for every new release/version bump.

┆Issue is synchronized with this Jira Task
┆Epic: Contile Test Engineering Enhancements & Maintenance

➤ Nan Jiang commented:

Will be fixed as part of #551 ( https://github.com/mozilla-services/contile/pull/551|smart-link ) .