scrapy/tests
Akshay Sharma 159e2b2e2f
allowing to run .pyw files (#4646)
* allow .pyw in scrapy/commands/runspider.py

* aesthetics

* added tests for '.pyw'

* created class for testing .pyw files

* name=None parameter in get_log

* small fix

* .pyw tests for non-windows

* used @skipIf for tests

* two more tests skipped
2020-10-01 23:53:08 +05:00
..
CrawlerProcess Add a setting to customize the asyncio event loop (#4414) 2020-08-19 09:18:14 +02:00
CrawlerRunner Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
keys Generate localhost keys for tests on the fly 2020-08-27 11:33:18 +02:00
mocks Add missing blank lines between functions and classes 2019-11-18 17:16:09 +01:00
sample_data Remove deprecated classes BaseSgmlLinkExtractor, RegexLinkExtractor and SgmlLinkExtractor (#4356) 2020-07-17 12:40:04 +02:00
test_cmdline Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_cmdline_crawl_with_pipeline Remove object base class (#4430) 2020-03-16 20:12:46 +01:00
test_settings Allow passing classes directly in Settings (#3873) 2020-08-26 13:08:14 +02:00
test_spiderloader Complete Azure Pipelines CI setup 2020-07-03 00:56:24 +02:00
test_utils_misc Allow passing classes directly in Settings (#3873) 2020-08-26 13:08:14 +02:00
__init__.py Maybe the problem is not in the code after all 2020-08-13 06:35:09 +02:00
constraints.txt Added constrain on lxml version based on Python version 2019-07-30 23:24:41 -03:00
ftpserver.py Allow overwriting feeds (#4512) 2020-08-17 15:10:08 +02:00
ignores.txt Remove deprecated classes BaseSgmlLinkExtractor, RegexLinkExtractor and SgmlLinkExtractor (#4356) 2020-07-17 12:40:04 +02:00
mockserver.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
pipelines.py Flake8: remove F841 2020-05-11 13:50:34 -03:00
requirements-py3.txt Update Python version references after dropping support for 3.5 (#4742) 2020-08-27 15:43:43 +05:00
spiders.py use f-strings for the newly merged code from master 2020-08-29 07:21:48 +02:00
test_closespider.py Flake8: remove E127 in tests (continuation line over-indented for visual indent) 2020-05-06 09:49:10 -03:00
test_command_check.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_command_fetch.py Keep 2 spaces between code and inline comments (#4195) 2019-12-13 14:20:48 +01:00
test_command_parse.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_command_shell.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_command_version.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_commands.py allowing to run .pyw files (#4646) 2020-10-01 23:53:08 +05:00
test_contracts.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_core_downloader.py test(Slot): cover __repr__ 2020-08-28 13:58:32 +02:00
test_crawl.py Merge pull request #4765 from scrapy/simplify-test_crawl 2020-08-29 13:31:20 +05:00
test_crawler.py Allow passing classes directly in Settings (#3873) 2020-08-26 13:08:14 +02:00
test_dependencies.py Flake8: remove F841 2020-05-11 13:50:34 -03:00
test_downloader_handlers.py Merge branch 'master' into 4307-use-f-strings 2020-08-26 13:46:46 +02:00
test_downloadermiddleware.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_downloadermiddleware_ajaxcrawlable.py Add missing blank lines between functions and classes 2019-11-18 17:16:09 +01:00
test_downloadermiddleware_cookies.py Improve check for invalid cookie in CookiesMiddleware (#4772) 2020-09-01 11:04:00 +02:00
test_downloadermiddleware_decompression.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_downloadermiddleware_defaultheaders.py Update deprecated test aliases 2017-08-09 12:52:10 +02:00
test_downloadermiddleware_downloadtimeout.py Update deprecated test aliases 2017-08-09 12:52:10 +02:00
test_downloadermiddleware_httpauth.py Update deprecated test aliases 2017-08-09 12:52:10 +02:00
test_downloadermiddleware_httpcache.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_downloadermiddleware_httpcompression.py Remove backslash (tests) 2020-07-09 11:04:46 -03:00
test_downloadermiddleware_httpproxy.py Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
test_downloadermiddleware_redirect.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_downloadermiddleware_retry.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_downloadermiddleware_robotstxt.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_downloadermiddleware_stats.py PY3 fix DownloaderStats middleware tests 2015-09-01 04:09:15 +05:00
test_downloadermiddleware_useragent.py Update deprecated test aliases 2017-08-09 12:52:10 +02:00
test_dupefilters.py Merge branch 'master' into flake8-max-line-length 2020-05-15 11:11:20 -03:00
test_engine.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_exporters.py Add errors parameter for CsvItemExporter with tests 2020-08-25 13:34:43 +03:00
test_extension_telnet.py Flake8: remove F841 2020-05-11 13:50:34 -03:00
test_feedexport.py Remove dead boto2 code, deprecate is_botocore() (#4776) 2020-09-20 15:06:46 +02:00
test_http_cookies.py remove python 2 reminiscence in cookies 2020-07-16 14:25:46 +02:00
test_http_headers.py Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
test_http_request.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_http_response.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_item.py Update Python version references after dropping support for 3.5 (#4742) 2020-08-27 15:43:43 +05:00
test_link.py Rename test_non_str_url_py2 to test_bytes_url. 2019-11-14 22:53:28 +05:00
test_linkextractors.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_loader.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_loader_deprecated.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_logformatter.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_mail.py Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
test_middleware.py Allow passing classes directly in Settings (#3873) 2020-08-26 13:08:14 +02:00
test_pipeline_crawl.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_pipeline_files.py Remove dead boto2 code, deprecate is_botocore() (#4776) 2020-09-20 15:06:46 +02:00
test_pipeline_images.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_pipeline_media.py Support defining file path based on item in media pipelines (#4686) 2020-08-11 14:12:44 +02:00
test_pipelines.py Use get_from_asyncio_queue in the pipeline test. 2020-01-09 14:49:16 +05:00
test_proxy_connect.py Merge branch 'master' into 4307-use-f-strings 2020-08-29 07:12:44 +02:00
test_request_attribute_binding.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_request_cb_kwargs.py E501 compliance (tests) 2020-03-22 23:29:30 -03:00
test_request_left.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_responsetypes.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_robotstxt_interface.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_scheduler.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_selector.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_signals.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_spider.py Crawl rule: remove deprecated code 2020-09-29 23:37:28 -03:00
test_spidermiddleware.py fix E22X flake8 2020-02-21 08:39:14 +01:00
test_spidermiddleware_depth.py Fix W391 Blank line at end of file (#4137) 2019-11-07 17:47:35 +01:00
test_spidermiddleware_httperror.py Change super syntax (#4707) 2020-08-04 20:42:01 +02:00
test_spidermiddleware_offsite.py Flake8: Remove E128 (tests, part 2) 2020-05-06 19:18:29 -03:00
test_spidermiddleware_output_chain.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_spidermiddleware_referer.py Allow passing classes directly in Settings (#3873) 2020-08-26 13:08:14 +02:00
test_spidermiddleware_urllength.py Fix W391 Blank line at end of file (#4137) 2019-11-07 17:47:35 +01:00
test_spiderstate.py TST remove temporary files and folders 2017-02-16 17:50:38 +05:00
test_squeues.py Flake8: Remove E741 2020-05-14 10:40:50 -03:00
test_stats.py Simplify some more imports. 2019-11-14 13:45:39 +05:00
test_toplevel.py Remove more six imports 2019-11-03 01:11:28 -03:00
test_urlparse_monkeypatches.py Remove six.moves occurrences from tests 2019-11-03 00:01:09 -03:00
test_utils_asyncio.py Complete Azure Pipelines CI setup 2020-07-03 00:56:24 +02:00
test_utils_conf.py test: list appears in ValueError Exception message 2020-08-26 15:11:46 +02:00
test_utils_console.py Add missing blank lines between functions and classes 2019-11-18 17:16:09 +01:00
test_utils_curl.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_utils_datatypes.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_utils_defer.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_utils_deprecate.py Flake8: remove F841 2020-05-11 13:50:34 -03:00
test_utils_display.py enable ANSI color (instead of ANSI color codes) in the Windows terminal #4393 (#4403) 2020-07-20 17:23:38 +05:00
test_utils_gz.py Modifying existing gzip read failure recovery mechanism to patch read for broken archives 2016-08-11 18:21:42 +05:30
test_utils_http.py Flake8: remove W504 code (#4525) 2020-05-06 00:14:48 +02:00
test_utils_httpobj.py Add missing blank lines between functions and classes 2019-11-18 17:16:09 +01:00
test_utils_iterators.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_utils_log.py Flake8: Remove E741 2020-05-14 10:40:50 -03:00
test_utils_project.py Add tests for envvar setting warnings 2020-02-27 16:31:43 +01:00
test_utils_python.py Remove Python 3.5 from CI (#4743) 2020-08-22 09:33:35 +02:00
test_utils_reqser.py Fix style issues 2020-08-25 13:57:48 +02:00
test_utils_request.py Remove backslash (tests) 2020-07-09 11:04:46 -03:00
test_utils_response.py Remove backslash (tests) 2020-07-09 11:04:46 -03:00
test_utils_serialize.py Support for dataclass and attrs items (#3881) 2020-06-14 11:45:27 +02:00
test_utils_signal.py Flake8: Remove E741 2020-05-14 10:40:50 -03:00
test_utils_sitemap.py Remove backslash (tests) 2020-07-09 11:04:46 -03:00
test_utils_spider.py Update Item docstring, update BaseItem occurrences 2020-05-05 13:11:01 -03:00
test_utils_template.py Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
test_utils_trackref.py TrackrefTestCase.test_get_oldest: protect from lack of precision 2020-07-03 01:41:47 +02:00
test_utils_url.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
test_webclient.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00