Commit graph

9 commits

Author SHA1 Message Date
Roman Gorbil
d80f426d3c Fix ImageCacheFile.__repr__ to not send signals
Cachefile strategy may be configured to generate file when file existance required.

To generate images, async backends passes `ImageCacheFile` instance to worker.
Both celery and RQ calls `__repr__` method for each argument to enque call.
And if `__repr__` of object will send `existnace_required` signal, we will get endless recursion.

Issue: #434
2017-10-10 17:39:46 +07:00
Venelin Stoykov
8a600d30b3 Use force_bytes from imagekit.lib in test_cachefiles 2013-12-15 01:58:22 +02:00
Venelin Stoykov
fb947b1937 Fix sanitizing cache key under Python 3 2013-12-14 18:56:47 +02:00
Matthew Tretter
3001069254 Test stringification of LazyImageCacheFiles 2013-06-04 23:35:46 -04:00
Jacob Magnusson
6582794408 Remove unused imports 2013-06-04 21:41:52 -04:00
Matthew Tretter
eb36ae399e Add test for memcached key sanitation 2013-04-30 09:32:47 -04:00
Matthew Tretter
b061e135c2 Add tests for cachefile truthiness 2013-03-15 00:49:44 -04:00
Matthew Tretter
aae6aeb142 Add truthy/falsy file assertion utils 2013-03-14 22:24:33 -04:00
Matthew Tretter
d62d8a824e Rename test_specs 2013-03-14 22:17:37 -04:00
Renamed from tests/test_specs.py (Browse further)