Make flake8 happy

This commit is contained in:
Michel Ace 2021-08-10 21:38:29 +02:00 committed by GitHub
parent 07d20a8ce4
commit 295f0e2bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -163,9 +163,9 @@ class UtilsMiscTestCase(unittest.TestCase):
assert os.environ.get('some_test_environ') == 'test'
def test_rel_has_nofollow(self):
assert rel_has_nofollow('ugc nofollow') == True
assert rel_has_nofollow('ugc,nofollow') == True
assert rel_has_nofollow('ugc') == False
assert rel_has_nofollow('ugc nofollow') is True
assert rel_has_nofollow('ugc,nofollow') is True
assert rel_has_nofollow('ugc') is False
if __name__ == "__main__":