mirror of
https://github.com/dnlbauer/django-signposting.git
synced 2026-09-12 06:55:30 +00:00
linting
This commit is contained in:
@@ -5,7 +5,7 @@ from signposting import Signpost, LinkRel
|
||||
|
||||
def test_add_signpost():
|
||||
response = HttpResponse()
|
||||
add_signposts(response, Signpost(LinkRel.item,"http://example.com"))
|
||||
add_signposts(response, Signpost(LinkRel.item, "http://example.com"))
|
||||
|
||||
assert len(response._signposts) == 1
|
||||
|
||||
@@ -18,7 +18,6 @@ def test_add_multiple_signposts():
|
||||
Signpost(LinkRel.author, "https://example3.com"),
|
||||
)
|
||||
|
||||
|
||||
assert len(response._signposts) == 3
|
||||
|
||||
|
||||
@@ -35,4 +34,4 @@ def test_add_signpost_duplicate():
|
||||
add_signposts(response, Signpost(LinkRel.item, "http://example.com"))
|
||||
add_signposts(response, Signpost(LinkRel.item, "http://example.com"))
|
||||
|
||||
assert len(response._signposts) == 1
|
||||
assert len(response._signposts) == 1
|
||||
|
||||
Reference in New Issue
Block a user