File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -283,20 +283,20 @@ Trace Request
283
283
${resp } = TRACE ${HTTP_LOCAL_SERVER } /anything
284
284
Status Should Be OK ${resp }
285
285
286
- Get request with get response
286
+ Get request with last response
287
287
[Tags] get
288
288
GET ${HTTP_LOCAL_SERVER } /anything
289
289
Status Should Be OK
290
- ${resp } = Get response
290
+ ${resp } = Last response
291
291
Should be equal ${resp.status_code } ${200 }
292
292
Should be equal ${resp.json() } [url] ${HTTP_LOCAL_SERVER } /anything
293
293
294
- Post request with get response
294
+ Post request with last response
295
295
[Tags] post
296
296
${data } = Create dictionary key1=one key2=two key3=3
297
297
POST ${HTTP_LOCAL_SERVER } /anything json=${data }
298
298
Status Should Be OK
299
- ${resp } = Get response
299
+ ${resp } = Last response
300
300
Should be equal ${resp.status_code } ${200 }
301
301
Should be equal ${resp.json() } [url] ${HTTP_LOCAL_SERVER } /anything
302
302
Should be equal ${resp.json() } [json] ${data }
Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ def get_file_for_streaming_upload(path):
152
152
"""
153
153
return open (path , "rb" )
154
154
155
- @keyword ("Get response" )
156
- def get_response (self ) -> requests .Response :
155
+ @keyword ("Last response" )
156
+ def get_last_response (self ) -> requests .Response :
157
157
"""
158
158
Returns the response from the last request.
159
159
"""
You can’t perform that action at this time.
0 commit comments