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
3444626084
Remove PENDING state
...
Re: #227
2013-07-16 21:41:10 -04:00
Matthew Tretter
db6cfcb6ce
Add (failing) test for #234
2013-07-13 16:38:49 -04: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
Bryan Veloso
02cd1bf7ff
I, for one, welcome our new @matthewwithanm overlords.
2013-06-03 12:50:20 -07:00
Matthew Tretter
404fed58ec
Add failing test for source_save signal w/o source
...
This is like the test contributed by @saulshanabrook in #214 , but
catches the bug closer to its source. (A more unit-y unit test.)
2013-05-25 00:07:58 -04:00
Matthew Tretter
c6a0a13c45
Test that source_saved is dispatched for new instance
2013-05-25 00:04:26 -04:00
Matthew Tretter
a6ef72027b
Make test less verbose
2013-05-25 00:04:26 -04:00
Matthew Tretter
4ff55724dc
Separate source group tests; signal counting util
2013-05-25 00:04:22 -04:00
Matthew Tretter
397a79ba56
Combine source_created and source_changed
...
As discussed in #214 , source_created and source_changed didn't really
have clear definitions. In truth, their names and separation betray
their origins as model receivers in earlier versions. The "source group"
abstraction helped us get away from thinking about things exclusively in
terms of models, but these remained as an artifact.
2013-05-24 23:21:30 -04:00
Matthew Tretter
c89b18aa95
Split before_access into two signals
...
Differentiating between when the generated file content is required and
when the generated file is just required to exist gives us more
flexibility with strategies.
2013-05-10 04:39:46 -04:00
Matthew Tretter
eb36ae399e
Add test for memcached key sanitation
2013-04-30 09:32:47 -04:00
Matthew Tretter
681527fa9d
Remove implicit source logic from descriptor
...
This needs to be known earlier, when registering the source group, so
we do it in `contribute_to_class` instead.
Closes #188 .
2013-04-03 00:21:04 -04:00
Matthew Tretter
fbf052ce5f
Fix test: update DummyAsyncCacheFileBackend API
2013-04-02 23:00:54 -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
Matthew Tretter
14be033b7f
Add SECRET_KEY for tests
2013-03-13 23:41:28 -04:00
Matthew Tretter
92a3c2688c
Error when attempting to generate image w/o source
2013-02-25 22:42:47 -05:00
Matthew Tretter
190153d068
Add test to ensure sourceless specs are falsy
...
Currently failing; related to #187
2013-02-25 22:15:57 -05:00
Matthew Tretter
e456e0fd99
Remove util tests
...
These are part of PILKit
2013-02-12 21:40:15 -05:00
Matthew Tretter
7bf3e4e7a3
Add test for @seanbell's utility
...
Currently failing
2013-02-10 15:54:40 -05:00
Matthew Tretter
de550b71df
Add test for abstract model signals
2013-02-10 15:42:39 -05:00
Matthew Tretter
ec5d4ed324
Remove processor tests; these are in PILKit
2013-02-07 23:15:08 -05:00
Matthew Tretter
561856abd7
Don't use assert_not_in
...
It's not available in Python 2.6
2013-02-06 22:04:13 -05:00
Matthew Tretter
50d83745bc
Remove unnecessary complexity of kwarg mapping
2013-02-01 01:02:20 -05:00
Matthew Tretter
08ebcbcbf3
Change html attrs delimiter to --
2013-02-01 00:56:29 -05:00
Matthew Tretter
92b11f8349
Use imagegenerators module, not imagespecs
2013-02-01 00:30:15 -05:00
Matthew Tretter
cef3a41d86
Merge branch 'ik-next' into cacheables
...
Conflicts:
imagekit/management/commands/warmimagecache.py
imagekit/registry.py
2013-01-28 21:45:37 -05:00
Matthew Tretter
b45a22abe6
Add test for imagekit.forms.fields.ProcessedImageField
2013-01-23 22:54:08 -05:00
Eric Eldredge
a8855d4c27
Change spec/source registry to generator/cacheable
2013-01-23 22:46:57 -05:00
Matthew Tretter
f4917ab7ca
Clean up util method
2013-01-23 22:41:36 -05:00
Matthew Tretter
c6f2c2e7a7
Add test for ProcessedImageField
2013-01-23 22:40:57 -05:00
Matthew Tretter
9dd7bef709
Simplify import
2013-01-23 22:07:31 -05:00
Matthew Tretter
8c5a571293
Remove unused import
...
Fixes flake8 error
2013-01-13 23:35:19 -05:00
Matthew Tretter
5acce98223
Remove extra space
2013-01-09 00:26:47 -05:00
Matthew Tretter
219b8507ad
Add thumbnail tag tests
2013-01-09 00:25:28 -05:00
Matthew Tretter
3177eb8e19
Extract utils for use in other modules
2013-01-08 23:36:22 -05:00
Matthew Tretter
c45876f95c
Ignore some style errors
2012-12-05 23:16:34 -05:00
Matthew Tretter
7578903307
Fix test
2012-12-05 21:10:36 -05:00
Matthew Tretter
938e2e178b
Clean up test utils; write to media dir
2012-12-05 21:10:36 -05:00
Matthew Tretter
ea962b6259
Correct argument order
...
Related: 2cc72cd
2012-12-05 21:09:10 -05:00
Matthew Tretter
a5c33a4925
Add tests for generateimage template tag
...
Currently, these will fail because the temporary file cannot be pickled
in order to generate a hash.
2012-12-03 22:25:12 -05:00
Matthew Tretter
a499f5fbe6
Add util for generating named image file
2012-12-03 22:24:55 -05:00
Matthew Tretter
d253fe281a
Rename image_field argument; closes #158
2012-12-01 16:46:10 -05:00
Matthew Tretter
9d310ba57e
Remove old class-based tests
2012-11-05 22:45:10 -05:00
Matthew Tretter
c3f7aeca54
Separate serialization test
2012-11-05 22:44:00 -05:00
Matthew Tretter
6255b93b78
Add some processor tests
2012-11-05 22:23:25 -05:00