Skip to content

Commit a125db9

Browse files
committed
Line length fix
1 parent 6cb56d3 commit a125db9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

example/tests/test_views.py

+8-2
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)