mirror of https://github.com/scrapy/scrapy.git
Make flake8 happy
This commit is contained in:
parent
07d20a8ce4
commit
295f0e2bf5
|
|
@ -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__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue