getsentry / getsentry/responses

Feature request: Flag to ignore ordering in matchers.json_param_matcher

Open
#756 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4.3k
Forks
378
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Currently the `matchers.json_param_matcher` does fail if the order within lists in the returned response differs. In order to check requests that are constructed from database queries, predicting the order of retrieved results is sometimes non-trivial. It would be nice to have a flag e.g. `json_param_matcher(..., check_order=False)` to ignore this requirement and just check if all elements are present.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.