Laerte Pereira
26a16f2c43
Fix tests
2024-02-28 16:36:19 -03:00
Andrey Rakhmatullin
b4acf5c827
Fix and remove most of the entries from the mypy ignore list ( #6137 )
2023-11-07 09:34:35 +01:00
Andrey Rakhmatullin
1ed9ed4f92
Require pyftpdlib that supports Python 3.12.
2023-10-02 21:33:02 +04:00
freddiewanah
c4f0aa4fdf
Refactor test cases to improve unit test quality ( #5986 )
2023-07-26 13:09:03 +02:00
Andrey Rakhmatullin
e058a05763
Skip tests that don't work on Python 3.12.
2023-07-22 17:51:13 +04:00
Andrey Rakhmatullin
712ee98848
Merge branch 'master' into typing-utils
2023-06-24 18:31:56 +04:00
Andrey Rakhmatullin
85fe88f80f
Merge pull request #5833 from GodelTech/issue_960_s3_feed_export
...
Fix #960 : S3 Feed Export throws boto error
2023-06-13 18:44:06 +04:00
Andrey Rakhmatullin
54fa04aa0a
Add typing to scrapy/utils/test.py, fix a FTP test.
2023-05-07 22:39:27 +04:00
Kartik Kumar
d47c732ae9
base64-decode GCS checksums ( #5891 )
2023-04-11 18:25:42 +02:00
Adrián Chaves
39dbfa1d82
Minimize test reliance on S3; do not install botocore on the default test environments
2023-03-15 15:31:39 +01:00
Alex
4692e0e16b
Merge branch 'master' into path_object_error_#5739
2023-02-02 11:10:01 -08:00
Andrey Rakhmatullin
ccd1385e11
Merge branch 'master' into no-callback
2023-01-30 15:43:05 +05:00
Alex
a1e2fbafdc
applied black to tests
2023-01-26 16:46:08 -08:00
Alex
5433015a25
Merge branch 'master' into path_object_error_#5739
2023-01-26 07:12:01 -08:00
Jalil SA
a5c1ef8276
sort imports with isort
2023-01-25 14:25:15 -06:00
Adrián Chaves
9272c4af0c
Merge remote-tracking branch 'scrapy/master' into no-callback
2023-01-25 17:41:41 +01:00
Alex
b1dd893fbb
Support Path Objects Issue #5739
2023-01-20 02:17:02 -08:00
Adrián Chaves
50500a6b28
Implement a NO_CALLBACK value for Request.callback
2023-01-19 17:14:18 +01:00
Emmanuel Rondan
e211ec0aa2
adding black formatter to all the code
2022-11-29 11:30:46 -03:00
Matthew Donoughe
40d9ca3bdd
use pathlib
2022-10-17 17:40:10 -04:00
Mikhail Korobov
1054689593
remove unused imports
...
thanks flake8!
2022-07-18 23:53:30 +05:00
Mikhail Korobov
e248360e6e
remove compatibility code from tests for the case dataclasses module is not available
...
It was Python 3.6 compat code, and Python 3.6 support is dropped.
2022-07-18 23:49:08 +05:00
Adrián Chaves
c5627af15b
Centralize request fingerprints ( #4524 )
...
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
2022-06-07 18:44:54 +02:00
Maxime Nannan
078622cfb0
Fix file expiration issue with GCS ( #5318 )
2022-05-20 08:30:06 +02:00
Adrián Chaves
6ef7c44061
Fix timezone test issue
2020-09-22 12:45:21 +02:00
Adrián Chaves
8f46e84519
Fix style issues
2020-09-21 23:28:16 +02:00
Adrián Chaves
c3b740f078
Use mocking for tests/test_pipeline_files.py::TestS3FilesStore::test_persist
2020-09-21 23:25:37 +02:00
Andrey Rahmatullin
5e997587d9
Remove dead boto2 code, deprecate is_botocore() ( #4776 )
2020-09-20 15:06:46 +02:00
Ammar Najjar
58ca8bbf6d
Use f-strings ( #4307 )
2020-08-26 07:11:05 +02:00
Ajay Mittur
1c4b4cc6b0
Support defining file path based on item in media pipelines ( #4686 )
2020-08-11 14:12:44 +02:00
Eugenio Lacuesta
ec98dabfab
Support for dataclass and attrs items ( #3881 )
2020-06-14 11:45:27 +02:00
Mikhail Korobov
febe82a907
Merge pull request #4486 from ilias-ant/add-file-status-on-media-pipelines-file-info
...
Add status (downloaded, uptodate) to files information
2020-05-18 22:30:30 +05:00
ilias-ant
773ddf77ba
added more tests to cover the (downloaded, uptodate, cached) status functionality
2020-04-19 14:14:17 +03:00
Eugenio Lacuesta
182394bcec
E501 compliance (tests)
2020-03-22 23:29:30 -03:00
Marc Hernandez Cabot
b49ece0b87
fix E701 and E271 flake8
2020-02-22 12:32:38 +01:00
Marc Hernandez Cabot
6fb85951ce
fix E22X flake8
2020-02-21 08:39:14 +01:00
Marc Hernández
91bbc70bc1
fix E30X flake8 ( #4355 )
2020-02-21 06:05:31 +01:00
OmarFarrag
40e0a11aa8
Fix Flake8 errors
2020-01-24 15:51:48 +02:00
OmarFarrag
fc98aa6b67
Merge branch 'master' into ftp_files#3928
2020-01-24 14:52:40 +02:00
Marc Hernandez Cabot
a5de2c64e6
fix W291, W292, W293 (whitespaces)
2019-12-18 16:33:46 +01:00
Eugenio Lacuesta
00b793dc59
Remove elluding six occurrences
2019-11-03 12:26:38 -03:00
Eugenio Lacuesta
5ab0f189ce
Remove six.moves occurrences from tests
2019-11-03 00:01:09 -03:00
Andrey Rakhmatullin
75b1d051d9
Simplify some more imports.
2019-10-31 15:22:45 +05:00
OmarFarrag
13735bcf34
Disallow media extensions unregistered with IANA ( #3954 )
...
Co-Authored-By: s-sanjay <sanjay537@gmail.com>
2019-09-16 14:04:06 +02:00
OmarFarrag
0e8770a2f4
test for files pipeline ftp store
2019-09-06 15:47:57 +02:00
nyov
7a398b7086
Deprecation removals for Scrapy 1.7
...
Removing deprecations of 2015 and prior (pre-1.1)
2019-07-06 13:41:56 +00:00
rhoboro
5254ac393b
added test for gcs policy
2018-04-03 18:06:34 +09:00
rhoboro
e5d4364b2a
Add tests for GCS Storage
2017-09-13 16:24:16 +09:00
Paul Tremberth
07f9985a94
TST: Randomize FILES_EXPIRES above 90 days
2016-12-21 17:03:11 +01:00
pawelmhm
7d88209543
[image & file pipeline] loading setting for user classes
...
if user has some custom subclass of Image pipeline and no setting for
this pipeline, he should get default settings defined for Image Pipeline.
Fixes #2198
2016-09-15 09:39:16 +02:00