summaryrefslogtreecommitdiff
path: root/tests
Commit message (Expand)AuthorAgeFilesLines
* Make sure all tests with SQLite dbs clean up after themselvesJordan Cook2021-04-294-53/+52
* Improve performance a bit for remove_expired_responses()Jordan Cook2021-04-292-4/+23
* Add response details to CachedResponse str() and repr()Jordan Cook2021-04-291-0/+41
* Add BaseCache.keys() and values() methodsJordan Cook2021-04-271-2/+33
* Include this behavior in old_data_on_error instead, to avoid complicationsJordan Cook2021-04-231-19/+4
* Add raise_for_status optionJordan Cook2021-04-232-0/+35
* Add use_temp option to SQLite backendJordan Cook2021-04-222-0/+16
* Combine test_cache.py with BaseCacheTest to run these tests for all backendsJordan Cook2021-04-2210-147/+165
* Turn multi-threaded stress tests into test (sub)classesJordan Cook2021-04-228-50/+100
* Turn remaining unittest.TestCase classes into pytest-style test classesJordan Cook2021-04-228-144/+82
* Reorganize backend integration tests and add some more thorough testsJordan Cook2021-04-227-147/+166
* Add a filesystem backendJordan Cook2021-04-213-3/+35
* Merge pull request #240 from jsemric/use-thread-local-connections-for-sqliteJordan Cook2021-04-211-0/+15
|\
| * add sqlite no-op testsjsemric2021-04-211-0/+15
* | Run multi-threaded tests for all backends, and run with more threads & iterat...Jordan Cook2021-04-204-41/+60
* | Fix DynamoDbDict.__iter__ to return keys instead of values; update tests to t...Jordan Cook2021-04-201-21/+21
|/
* Allow passing any valid backend connection kwargs via BaseCacheJordan Cook2021-04-195-6/+52
* Add option to manually cache response objectsJordan Cook2021-04-191-0/+6
* Use pytest-order to order tests; remove ipdb recommendationJordan Cook2021-04-192-2/+4
* Add some more info about testingJordan Cook2021-04-181-6/+10
* Don't show warnings for 'include_get_headers' and 'ignored_parameters' kwargs...Jordan Cook2021-04-181-5/+5
* Read manually instead of using _body, move decode tests to integration testsshiftinv2021-04-182-21/+22
* Improve raw response reset, update testsshiftinv2021-04-181-17/+17
* Fix handling of decode_content parameter for raw.read(...)shiftinv2021-04-181-5/+8
* Add one test case per backend storage classJordan Cook2021-04-126-92/+116
* Update all backend-specific integration tests to fail quickly if not set up, ...Jordan Cook2021-04-126-57/+95
* Add temporary workaround for /json httpbin endpointJordan Cook2021-04-121-1/+5
* Add option to use pytest-httpbin instead of httpbin containerJordan Cook2021-04-121-3/+29
* Handle errors due to invalid responses in `BaseCache.urls`Jordan Cook2021-04-101-0/+8
* Add remove_old_entries() back to BaseCache as an alias with a DeprecationWarningJordan Cook2021-04-101-1/+7
* Improvements to Sphinx documentation:Jordan Cook2021-04-031-7/+7
* Split 'core' module into 'session' and 'patcher' modules; keep placeholder 'c...Jordan Cook2021-04-023-15/+28
* Improve backend initialization:Jordan Cook2021-04-023-19/+22
* Add 'verify' param to cache keyJordan Cook2021-04-011-1/+7
* Use pytest-xdist to parallelize stress testsJordan Cook2021-04-011-2/+1
* Add tests against httpbin container for all supported methods and response fo...Jordan Cook2021-03-312-10/+71
* Convert test_thread_safety and test_monkey_patch from TestCase classes to pyt...Jordan Cook2021-03-314-116/+136
* Split tests into unit and integration tests and run separately in CI; update ...Jordan Cook2021-03-3114-73/+71
* Add mocking for requests with redirect historyJordan Cook2021-03-313-47/+51
* Fix BaseCache.urls to return only response URLs (no redirect keys)Jordan Cook2021-03-301-3/+2
* Move cache key utilities to a separate moduleJordan Cook2021-03-301-5/+26
* Add normalization for request jsonJordan Cook2021-03-301-25/+24
* Use url-normalize for additional URL normalization for cache keysJordan Cook2021-03-301-0/+5
* Also remove invalid responses when running remove_expired_responses()Jordan Cook2021-03-302-0/+14
* Add logging to main cache operationsJordan Cook2021-03-301-2/+2
* Update get_response + tests to check additional error typesJordan Cook2021-03-291-3/+7
* Expose timeout parameter for SQLite backendJordan Cook2021-03-241-0/+8
* Pass along optional kwargs to all storage classes, and make default table nam...Jordan Cook2021-03-241-0/+24
* Enable DynamoDB integration test with GitHub Actions and local docker-compose...Jordan Cook2021-03-242-7/+6
* Combine storage classes from backends.storage.* with their respective backend...Jordan Cook2021-03-247-15/+10