Make cache tests more reusable
|Reported by:||jonash||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm using the cache framework test suite that ships with Django for my own caching backend.
This matches replaces the hard-coded backend paths (e.g. django.core.cache.backends.db) by class attributes, so using these tests for third-party backends is as easy as typing backend_name = 'your.cool.Backend'.
Change History (5)
Changed 4 years ago by jonash
comment:1 Changed 4 years ago by jonash
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset