Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 31967bb

Browse files
committed
Line length fix
1 parent c943167 commit 31967bb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎example/tests/test_views.py‎

Lines changed: 8 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /