summaryrefslogtreecommitdiff
path: root/tests/unit
Commit message (Expand)AuthorAgeFilesLines
* Add compatibility with urllib3 2.0Jordan Cook2023-05-151-1/+0
* Enable bugbear extension and fix warningsJordan Cook2023-05-083-9/+9
* Don't normalize CachedResponse.url when redacting ignored paramsJordan Cook2023-04-021-2/+20
* Use time-machine instead of sleep for timing-based testsJordan Cook2023-04-022-76/+111
* Ignore Cache-Control: must-revalidate and no-cache when cache_control=FalseJordan Cook2023-03-241-7/+16
* Allow regexes for URL expiration patternsSimon Leiner2023-03-241-0/+4
* Don't raise_for_status if status_code of response is in allowable_codesDavid Dv Schmidt2023-02-181-9/+34
* Raise an error for invalid expiration string values (except for headers conta...Jordan Cook2023-02-182-1/+18
* Add tests for pypy3.9Jordan Cook2022-12-301-3/+6
* Make use of index with SQLiteCache.filter(expired=False)Jordan Cook2022-10-281-12/+11
* Omit invalid responses and set response.cache_key in SQLiteCache.sorted()Jordan Cook2022-10-281-1/+1
* Handle errors due to invalid responses in deserialize(), so it applies to oth...Jordan Cook2022-10-282-10/+23
* Handle using a converter that doesn't support the omit_if_default keyword arg...Jordan Cook2022-10-281-0/+13
* Add BaseCache.has_key() back; this was intended to be deprecated, not yet rem...Jordan Cook2022-10-261-0/+8
* Add support for header values as bytesJordan Cook2022-10-201-0/+1
* Explicitly disable pickling CachedSession objectsJordan Cook2022-10-201-0/+6
* Add 'url' argument to BaseCache.contains() and delete() for similarity to has...Jordan Cook2022-09-302-22/+38
* Fix issue on Windows with occasional missing `CachedResponse.created_at` time...Jordan Cook2022-09-301-2/+3
* Silence DeprecationWarnings during tests for deprecated methodsJordan Cook2022-09-303-26/+40
* Add delete() function for patcherJordan Cook2022-09-291-4/+12
* Match whether ignored_parameters are present in a request (without matching c...Jordan Cook2022-09-292-10/+25
* Add method to recreate cache keysJordan Cook2022-08-231-0/+40
* Add support for duplicate request paramsJordan Cook2022-08-151-0/+19
* Update only_if_cached to take precedence over refresh or other revalidation c...Jordan Cook2022-07-301-0/+10
* Some additional logging and testsJordan Cook2022-06-161-0/+16
* Add support for VaryJordan Cook2022-06-161-0/+80
* Normalize ordering and whitespace for multi-value request headersJordan Cook2022-06-161-4/+13
* Update tests and docsJordan Cook2022-06-113-144/+161
* Split up remove_expired_reponses() into remove() and reset_expiration() metho...Jordan Cook2022-06-113-153/+178
* Add a base model repr that excludes default values even if rich isn't installedJordan Cook2022-05-301-0/+6
* Add Placeholder.loads() (needed in some scenerios with missing dependencies w...Jordan Cook2022-05-301-0/+2
* Add CachedRequest.path_url propertyJordan Cook2022-05-181-1/+1
* Implement Cache-Control: stale-while-revalidateJordan Cook2022-05-042-75/+173
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-031-1/+34
* Add always_revalidate session optionJordan Cook2022-05-031-3/+23
* Remove row count from BaseCache.__str__Jordan Cook2022-04-221-6/+3
* For SQLite expires column, use time.time() instead of datetime.timestamp()Jordan Cook2022-04-221-5/+5
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-222-7/+9
* Skip tests for optional serializer dependencies if not installedJordan Cook2022-04-221-2/+7
* Add misc missing test coverageJordan Cook2022-04-205-1/+41
* Improve output for all models when printed or logged with richJordan Cook2022-04-191-0/+26
* Add support for Cache-Control: stale-if-errorJordan Cook2022-04-182-8/+48
* Add support for Cache-Control: max-stale and min-freshJordan Cook2022-04-181-0/+32
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-173-5/+5
* Add serializer name to cache key to avoid errors due to switching serializersJordan Cook2022-04-152-9/+8
* Add indexed datetime column to SQLite backend for faster evictionJordan Cook2022-04-102-16/+13
* Add default list of ignored_parameters for most common authentication params/...Jordan Cook2022-04-101-13/+36
* Also skip cache read for requests excluded by allowable_methodsJordan Cook2022-04-093-27/+76
* Move logic for translating kwargs to headers into cache_actions.set_request_h...Jordan Cook2022-04-092-15/+14
* Refactor refresh/revalidate behaviorJordan Cook2022-04-093-70/+83