Detect suspended accounts

This commit is contained in:
Zed
2020-04-14 23:56:31 +02:00
parent 240ce15651
commit 8a6978cf74
8 changed files with 38 additions and 6 deletions

View File

@ -71,9 +71,8 @@ class ProfileTest(BaseTestCase):
self.assert_text(f'User "{username}" not found')
def test_suspended(self):
# TODO: detect suspended
self.open_nitter('test')
self.assert_text(f'User "test" not found')
self.assert_text(f'User "test" has been suspended')
@parameterized.expand(banner_color)
def test_banner_color(self, username, color):