mirror of https://github.com/scrapy/scrapy.git
remove scrapy.utils.testsite from PY3 ignores
This commit is contained in:
parent
d05cf6e0af
commit
9316b2317b
|
|
@ -8,6 +8,7 @@ def _py_files(folder):
|
|||
|
||||
|
||||
collect_ignore = [
|
||||
# deprecated or moved modules
|
||||
"scrapy/conf.py",
|
||||
"scrapy/stats.py",
|
||||
"scrapy/project.py",
|
||||
|
|
@ -19,6 +20,10 @@ collect_ignore = [
|
|||
"scrapy/command.py",
|
||||
"scrapy/linkextractor.py",
|
||||
"scrapy/spider.py",
|
||||
|
||||
# not a test, but looks like a test
|
||||
"scrapy/utils/testsite.py",
|
||||
|
||||
] + _py_files("scrapy/contrib") + _py_files("scrapy/contrib_exp")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ from six.moves.urllib.parse import urljoin
|
|||
from twisted.internet import reactor
|
||||
from twisted.web import server, resource, static, util
|
||||
|
||||
|
||||
class SiteTest(object):
|
||||
|
||||
def setUp(self):
|
||||
|
|
@ -18,6 +19,7 @@ class SiteTest(object):
|
|||
def url(self, path):
|
||||
return urljoin(self.baseurl, path)
|
||||
|
||||
|
||||
def test_site():
|
||||
r = resource.Resource()
|
||||
r.putChild("text", static.Data("Works", "text/plain"))
|
||||
|
|
|
|||
|
|
@ -52,8 +52,6 @@ scrapy/xlib/tx/endpoints.py
|
|||
scrapy/xlib/tx/client.py
|
||||
scrapy/xlib/tx/_newclient.py
|
||||
scrapy/xlib/tx/__init__.py
|
||||
scrapy/xlib/tx/__init__.py
|
||||
scrapy/utils/testsite.py
|
||||
scrapy/http/cookies.py
|
||||
scrapy/core/downloader/handlers/s3.py
|
||||
scrapy/core/downloader/handlers/http11.py
|
||||
|
|
|
|||
Loading…
Reference in New Issue