File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2424,15 +2424,15 @@ def test_adapter_retry_untouched(self):
2424
2424
@responses .activate (registry = registries .OrderedRegistry )
2425
2425
def run ():
2426
2426
url = "https://example.com"
2427
- rsp1 = responses .get (url , body = "Error" , status = 500 )
2428
- responses .add (rsp1 )
2429
- responses .add (rsp1 )
2430
- rsp4 = responses .get (url , body = "OK" , status = 200 )
2431
-
2432
- responses .add (rsp1 )
2433
- responses .add (rsp1 )
2434
- responses .add (rsp1 )
2435
- responses .add (rsp4 )
2427
+ error_rsp = responses .get (url , body = "Error" , status = 500 )
2428
+ responses .add (error_rsp )
2429
+ responses .add (error_rsp )
2430
+ ok_rsp = responses .get (url , body = "OK" , status = 200 )
2431
+
2432
+ responses .add (error_rsp )
2433
+ responses .add (error_rsp )
2434
+ responses .add (error_rsp )
2435
+ responses .add (error_rsp )
2436
2436
2437
2437
session = requests .Session ()
2438
2438
You can’t perform that action at this time.
0 commit comments