@@ -193,19 +193,19 @@ def test_single_request_body_ends_with_closing_boundary(self):
193193 self .assertIn ("--batch_bnd--" , body )
194194
195195 def test_multiple_requests_all_in_body (self ):
196- r1 = _RawRequest (method = "GET" , url = "https://org/api/data/v9.2/accounts" )
197- r2 = _RawRequest (
196+ req1 = _RawRequest (method = "GET" , url = "https://org/api/data/v9.2/accounts" )
197+ req2 = _RawRequest (
198198 method = "DELETE" ,
199199 url = "https://org/api/data/v9.2/accounts(guid)" ,
200200 headers = {"If-Match" : "*" },
201201 )
202202 client = self ._client ()
203- body = client ._build_batch_body ([r1 , r2 ], "bnd" )
203+ body = client ._build_batch_body ([req1 , req2 ], "bnd" )
204204 self .assertEqual (body .count ("--bnd\r \n " ), 2 )
205205
206206 def test_changeset_produces_nested_multipart (self ):
207- r1 = _RawRequest (method = "POST" , url = "https://org/api/data/v9.2/accounts" , body = "{}" )
208- cs = _ChangeSetBatchItem (requests = [r1 ])
207+ req1 = _RawRequest (method = "POST" , url = "https://org/api/data/v9.2/accounts" , body = "{}" )
208+ cs = _ChangeSetBatchItem (requests = [req1 ])
209209 client = self ._client ()
210210 body = client ._build_batch_body ([cs ], "outer_bnd" )
211211 self .assertIn ("Content-Type: multipart/mixed" , body )
0 commit comments