Opened 14 years ago
Closed 14 years ago
#15704 closed New feature (fixed)
Make cache tests more reusable
Description ¶
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)
by , 14 years ago
Attachment: | cache-tests-backend-name.patch added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Type: | → New feature |
---|
comment:3 by , 14 years ago
Severity: | → Normal |
---|
Note:
See TracTickets
for help on using tickets.
Sorry. Second word should obviously be "patch". Again forgot to mention that this passes the Django test suite.