summaryrefslogtreecommitdiff
path: root/tests/unit/test_gitlab.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-01-16 11:51:09 -0800
committerJohn L. Villalovos <john@sodarock.com>2022-01-16 11:51:09 -0800
commitd16e41bda2c355077cbdc419fe2e1d994fdea403 (patch)
tree2fc3d719fdfd81b87f6dbfe124e6a4e8d69245ff /tests/unit/test_gitlab.py
parent5254f193dc29d8854952aada19a72e5b4fc7ced0 (diff)
downloadgitlab-jlvillal/rm_httmock.tar.gz
test: convert usage of `match_querystring` to `match`jlvillal/rm_httmock
In the `responses` library the usage of `match_querystring` is deprecated. Convert to using `match`
Diffstat (limited to 'tests/unit/test_gitlab.py')
-rw-r--r--tests/unit/test_gitlab.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/test_gitlab.py b/tests/unit/test_gitlab.py
index 4d742d3..3826627 100644
--- a/tests/unit/test_gitlab.py
+++ b/tests/unit/test_gitlab.py
@@ -58,7 +58,7 @@ def resp_page_1():
"headers": headers,
"content_type": "application/json",
"status": 200,
- "match_querystring": True,
+ "match": [responses.matchers.query_param_matcher({})],
}
@@ -81,7 +81,6 @@ def resp_page_2():
"content_type": "application/json",
"status": 200,
"match": [responses.matchers.query_param_matcher(params)],
- "match_querystring": False,
}