File tree 1 file changed +8
-2
lines changed
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):
243
243
'id' : str (self .second_comment .id )
244
244
}
245
245
],
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
+ }
247
250
}
248
251
249
252
response = self .client .get (url )
@@ -256,7 +259,10 @@ def test_new_comment_data_patch_to_many_relationship(self):
256
259
'id' : str (comment .id )
257
260
}
258
261
],
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
+ }
260
266
}
261
267
262
268
response = self .client .patch (url , data = request_data )
You can’t perform that action at this time.
0 commit comments