mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-28 18:21:00 +00:00
Fix linter fails with the CI (#497)
This commit is contained in:
parent
94271b34ac
commit
21e286c5d2
2 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ def test_visible_follows_disabled(client, identity):
|
||||||
"""
|
"""
|
||||||
Config.set_identity(identity, "visible_follows", True)
|
Config.set_identity(identity, "visible_follows", True)
|
||||||
response = client.get(identity.urls.view)
|
response = client.get(identity.urls.view)
|
||||||
assertContains(response, 'follower', status_code=200)
|
assertContains(response, "follower", status_code=200)
|
||||||
Config.set_identity(identity, "visible_follows", False)
|
Config.set_identity(identity, "visible_follows", False)
|
||||||
response = client.get(identity.urls.view)
|
response = client.get(identity.urls.view)
|
||||||
assertNotContains(response, 'follower', status_code=200)
|
assertNotContains(response, "follower", status_code=200)
|
||||||
|
|
Loading…
Reference in a new issue