summaryrefslogtreecommitdiff
path: root/tests/integration/test_filesystem.py
Commit message (Collapse)AuthorAgeFilesLines
* Set default serializers for each backend using param defaults instead of ↵Jordan Cook2023-01-131-1/+0
| | | | 'default_serializer' class attributes
* Clean up SerializerPipeline.decode_contentJordan Cook2022-06-111-2/+3
|
* Run integration tests with all serializers _only_ for Filesystem backend; ↵Jordan Cook2022-06-101-1/+47
| | | | for all other backends, only test with default serializer
* Add misc missing test coverageJordan Cook2022-04-201-10/+4
|
* Add support for DynamoDB TTLJordan Cook2022-04-201-1/+2
|
* Swap out appdirs for platformdirsJordan Cook2022-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | * platformdirs is a more actively maintained fork of appdirs. * Also relax requirements a bit for attrs and urllib (minimum instead of caret constraint) Dependabot update: Bump responses from 0.16.0 to 0.19.0 Bumps [responses](https://github.com/getsentry/responses) from 0.16.0 to 0.19.0. - [Release notes](https://github.com/getsentry/responses/releases) - [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES) - [Commits](https://github.com/getsentry/responses/compare/0.16.0...0.19.0) --- updated-dependencies: - dependency-name: responses dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Fix handling BSON serializer differences between pymongo's bson and ↵Jordan Cook2022-02-151-1/+1
| | | | standalone bson codec.
* Fix serialization in filesystem backend with binary content that is also ↵Jordan Cook2022-02-151-2/+1
| | | | valid UTF-8
* Add a bit of missing test coverageJordan Cook2021-09-061-7/+19
|
* Use pathlib.Path objects for all file paths in Filesystem and SQLite backendsJordan Cook2021-08-291-8/+7
|
* Fix incorrect location of redirects.sqlite when using filesystem backendJordan Cook2021-08-231-1/+4
|
* Add appdirs as a dependency, and add 'use_cache_dir' option to SQLite and ↵Jordan Cook2021-08-211-0/+7
| | | | Filesystem backends
* Add FileCache.paths() wrapper method, and return a list instead of generatorJordan Cook2021-08-201-11/+11
|
* Apply whitespace/EOF fixes and isort updatesJordan Cook2021-08-081-1/+2
|
* For filesystem backend, add an appropriate file extension to cache filesJordan Cook2021-08-031-2/+11
|
* Some serialization fixes & updates:Jordan Cook2021-07-031-1/+2
| | | | | | | | | | | | | | | | | * Fix tests on python 3.6: * Make `cattrs` optional again * Don't run tests for serializers with missing optional dependencies * Show any skipped tests in pytest output * Fix redirect serialization for backends that serialize all values (DynamoDB and Redis) * Otherwise, the redirect value (which is just another key) will get converted into a `CachedResponse` * Make `pickle` serializer use `cattrs` if installed * Make `bson` serializer compatible with both `pymongo` version and standalone `bson` library * Split up `CattrStage` and preconf converters into separate modules * Turn preconf converters into `Stage` objects * Add `DeprecationWarning` for previous method of using `itsdangerous`, now that there's a better way to initialize it via `SerializerPipeline` * Remove `suppress_warnings` kwarg that's now unused * Make `SerializerPipeline`, `Stage`, and `CattrStage` importable from top-level package (`from requests_cache import ...`) * Add some more details to docs and docstrings
* Add use_temp option to SQLite backendJordan Cook2021-04-221-0/+7
| | | | Closes #243
* Combine test_cache.py with BaseCacheTest to run these tests for all backendsJordan Cook2021-04-221-1/+2
|
* Turn multi-threaded stress tests into test (sub)classesJordan Cook2021-04-221-2/+7
| | | | | | This is mainly to take advantage of fail-fast connection tests; otherwise, these tests may just hang if backend dependenices are installed but backend services are not set up. See issue #221 for details.
* Turn remaining unittest.TestCase classes into pytest-style test classesJordan Cook2021-04-221-6/+6
|
* Reorganize backend integration tests and add some more thorough testsJordan Cook2021-04-221-14/+10
|
* Add a filesystem backendJordan Cook2021-04-211-0/+32