In spiders.py, got three redundant words "self" in line 79, 82, 89 separately. Cause an error AttributeError: 'MySpider' object has no attribute 'settings'.
Reproduce message
In your terminal, at scrapy_redis root folder, enter pytest tests/test_spiders.py
Log
Tasks
[x] Remove redundant "self" at line 79, 82, 89 from spiders.py
Description
In
spiders.py
, got three redundant words "self" in line 79, 82, 89 separately. Cause an errorAttributeError: 'MySpider' object has no attribute 'settings'
.Reproduce message
In your terminal, at
scrapy_redis
root folder, enterpytest tests/test_spiders.py
Log
Tasks
spiders.py