File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,10 @@ def test_new_comment_data_patch_to_many_relationship(self):
243243 'id' : str (self .second_comment .id )
244244 }
245245 ],
246- 'links' : {'self' : 'http://testserver/authors/{}/relationships/comment_set' .format (self .author .id )}
246+ 'links' : {
247+ 'self' : ('http://testserver/authors/{}/'
248+ 'relationships/comment_set' .format (self .author .id ))
249+ }
247250 }
248251
249252 response = self .client .get (url )
@@ -256,7 +259,10 @@ def test_new_comment_data_patch_to_many_relationship(self):
256259 'id' : str (comment .id )
257260 }
258261 ],
259- 'links' : {'self' : 'http://testserver/authors/{}/relationships/comment_set' .format (self .author .id )}
262+ 'links' : {
263+ 'self' : ('http://testserver/authors/{}/'
264+ 'relationships/comment_set' .format (self .author .id ))
265+ }
260266 }
261267
262268 response = self .client .patch (url , data = request_data )
You can’t perform that action at this time.
0 commit comments