Skip to content

Commit 496212a

Browse files
authored
Match querystring for multiple responses in httpretty plugin (#295)
1 parent 13b2b94 commit 496212a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mocket/plugins/httpretty/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ def force_headers(self):
9090
Response.set_base_headers = Response.original_set_base_headers # type: ignore[method-assign]
9191

9292
if responses:
93-
Entry.register(method, uri, *responses)
93+
Entry.register(
94+
method,
95+
uri,
96+
*responses,
97+
match_querystring=match_querystring,
98+
)
9499
else:
95100
Entry.single_register(
96101
method,

0 commit comments

Comments
 (0)