scrapy / scrapy

Compare 8284de5 ... +7 ... bbb8294

Coverage Reach
core/downloader/handlers/http11.py core/downloader/handlers/http2.py core/downloader/handlers/ftp.py core/downloader/handlers/__init__.py core/downloader/handlers/s3.py core/downloader/handlers/http10.py core/downloader/handlers/datauri.py core/downloader/handlers/file.py core/downloader/handlers/http.py core/downloader/__init__.py core/downloader/webclient.py core/downloader/middleware.py core/downloader/contextfactory.py core/downloader/tls.py core/http2/protocol.py core/http2/stream.py core/http2/agent.py core/engine.py core/scraper.py core/scheduler.py core/spidermw.py utils/python.py utils/misc.py utils/conf.py utils/iterators.py utils/defer.py utils/log.py utils/datatypes.py utils/deprecate.py utils/test.py utils/request.py utils/console.py utils/reactor.py utils/curl.py utils/project.py utils/url.py utils/signal.py utils/response.py utils/ssl.py utils/testproc.py utils/trackref.py utils/spider.py utils/benchserver.py utils/testsite.py utils/serialize.py utils/decorators.py utils/display.py utils/sitemap.py utils/gz.py utils/ftp.py utils/engine.py utils/boto.py utils/template.py utils/ossignal.py utils/versions.py utils/reqser.py utils/httpobj.py utils/job.py utils/asyncgen.py utils/py36.py extensions/feedexport.py extensions/httpcache.py extensions/memusage.py extensions/postprocessing.py extensions/telnet.py extensions/throttle.py extensions/closespider.py extensions/debug.py extensions/logstats.py extensions/corestats.py extensions/spiderstate.py extensions/statsmailer.py extensions/memdebug.py commands/parse.py commands/genspider.py commands/startproject.py commands/__init__.py commands/check.py commands/runspider.py commands/fetch.py commands/shell.py commands/bench.py commands/settings.py commands/edit.py commands/crawl.py commands/version.py commands/view.py commands/list.py http/request/form.py http/request/__init__.py http/request/json_request.py http/request/rpc.py http/response/text.py http/response/__init__.py http/response/html.py http/response/xml.py http/cookies.py http/headers.py http/__init__.py http/common.py downloadermiddlewares/httpcache.py downloadermiddlewares/cookies.py downloadermiddlewares/robotstxt.py downloadermiddlewares/httpcompression.py downloadermiddlewares/redirect.py downloadermiddlewares/retry.py downloadermiddlewares/decompression.py downloadermiddlewares/httpproxy.py downloadermiddlewares/ajaxcrawl.py downloadermiddlewares/stats.py downloadermiddlewares/httpauth.py downloadermiddlewares/useragent.py downloadermiddlewares/downloadtimeout.py downloadermiddlewares/defaultheaders.py pipelines/files.py pipelines/media.py pipelines/images.py pipelines/__init__.py settings/__init__.py settings/default_settings.py spidermiddlewares/referer.py spidermiddlewares/offsite.py spidermiddlewares/depth.py spidermiddlewares/httperror.py spidermiddlewares/urllength.py spiders/crawl.py spiders/feed.py spiders/sitemap.py spiders/__init__.py spiders/init.py exporters.py contracts/__init__.py contracts/default.py crawler.py linkextractors/lxmlhtml.py linkextractors/__init__.py shell.py cmdline.py pqueues.py squeues.py mail.py robotstxt.py item.py resolver.py responsetypes.py dupefilters.py middleware.py statscollectors.py spiderloader.py logformatter.py selector/unified.py selector/__init__.py exceptions.py loader/__init__.py loader/processors.py loader/common.py signals.py signalmanager.py __init__.py link.py extension.py interfaces.py __main__.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 2 files from the diff.

@@ -34,7 +34,7 @@
Loading
34 34
35 35
        if formdata:
36 36
            items = formdata.items() if isinstance(formdata, dict) else formdata
37 -
            form_query_str = _urlencode(items, self.encoding)
37 +
            form_query_str = urlencode(formdata, doseq=1, encoding=self.encoding)
38 38
            if self.method == 'POST':
39 39
                self.headers.setdefault(b'Content-Type', b'application/x-www-form-urlencoded')
40 40
                self._set_body(form_query_str)
@@ -83,13 +83,6 @@
Loading
83 83
    return urljoin(form.base_url, url)
84 84
85 85
86 -
def _urlencode(seq: Iterable, enc: str) -> str:
87 -
    values = [(to_bytes(k, enc), to_bytes(v, enc))
88 -
              for k, vs in seq
89 -
              for v in (vs if is_listlike(vs) else [vs])]
90 -
    return urlencode(values, doseq=True)
91 -
92 -
93 86
def _get_form(
94 87
    response: TextResponse,
95 88
    formname: Optional[str],

Learn more Showing 5 files with coverage changes found.

Changes in scrapy/downloadermiddlewares/cookies.py
-2
+1
+1
Loading file...
Changes in scrapy/shell.py
-1
+1
Loading file...
Changes in scrapy/http/response/__init__.py
-1
Loading file...
Changes in scrapy/http/request/__init__.py
-1
Loading file...
Changes in scrapy/utils/python.py
-1
+1
Loading file...
Files Coverage
scrapy -0.03% 88.48%
Project Totals (163 files) 88.48%
Loading