File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ Matching Request Parameters
134134
135135When adding responses for endpoints that are sent request data you can add
136136matchers to ensure your code is sending the right parameters and provide
137- different responses based on the request body contents. Resposnes provides
137+ different responses based on the request body contents. Responses provides
138138matchers for JSON and URLencoded request bodies and you can supply your own for
139139other formats.
140140
@@ -150,7 +150,7 @@ other formats.
150150 url = ' http://calc.com/sum' ,
151151 body = 4 ,
152152 match = [
153- resposnes .urlencoded_params_matcher({" left" : 1 , " right" : 3 })
153+ responses .urlencoded_params_matcher({" left" : 1 , " right" : 3 })
154154 ]
155155 )
156156 requests.post(" http://calc.com/sum" , data = {" left" : 1 , " right" : 3 })
You can’t perform that action at this time.
0 commit comments