Commit graph

57 commits

Author SHA1 Message Date
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
Matthew Tretter
56f1ccb8a8 Separate test_utils module 2012-11-05 21:54:15 -05:00
Matthew Tretter
8266099ae8 Clean up tests dir 2012-11-05 21:33:05 -05:00
Eric Eldredge
d27836983a Use nose to run tests
Closes #160
2012-10-24 23:30:55 -04:00
Matthew Tretter
d2087aa168 Create ImageSpecs; remove generators 2012-10-04 21:37:20 -04:00
Matthew Tretter
118f6e4206 Create failing test to illustrate #97 2012-07-18 17:21:47 -04:00
Matthew Tretter
5e1757c1ee Remove unused stuff 2012-07-18 17:21:21 -04:00
Matthew Tretter
c1b4c9bf71 Use cStringIO if available 2012-05-12 15:45:08 -04:00
Matthew Tretter
af7c12cb68 Tell people to import fields from the models module 2012-04-20 21:43:59 -04:00
Matthew Tretter
24a2d772a6 Organized tests 2012-02-18 01:56:17 -05:00
Matthew Tretter
3912003f02 Rename Fit and Fill to ResizeToFit and ResizeToFill 2012-02-18 00:05:18 -05:00
Matthew Tretter
35b04aeb16 Abstract inheritance test; illustrates #100 2012-02-17 21:10:05 -05:00
Matthew Tretter
310fd86c21 Extract utility functions 2012-02-17 20:44:47 -05:00
Matthew Tretter
280d01f07e Failing test to illustrate #97 2012-02-17 19:22:49 -05:00
Matthew Tretter
1bd3035f2c Extract image/model generation utils 2012-02-17 18:53:04 -05:00
Matthew Tretter
2838fa47cd Created "fields" module
This should give us a little more structure as IK grows.
2012-02-12 14:53:49 -05:00
Matthew Tretter
2467dfe912 Rename resize.Crop to resize.Fill 2012-02-11 13:36:30 -05:00
Matthew Tretter
c3ef5172c3 Rename ImageSpec to ImageSpecField
The ImageSpec class remains for now, but using it throws
deprecation warnings.
2012-02-11 13:06:48 -05:00
Matthew Tretter
09b97ee62f Move SmartCrop to crop module
Addresses one of the issues raised by in @madisvain in #93
2012-02-10 19:42:36 -05:00
Bryan Veloso
c16b008a34 Being a bit friendlier to Python 2.5 users... or is it 2.4. Fixes #82. 2011-12-22 21:48:15 -08:00
Matthew Tretter
d036343adc Test illustrating #75, #74 2011-12-02 02:19:27 -05:00
Matthew Tretter
1137487689 Separate create_photo method 2011-12-02 02:19:12 -05:00
Matthew Tretter
788365d6db Replaces quality argument with options dict
The `options` argument for `ImageSpec` and `ProcessedImageField`
replaces `quality` and provides a more general solution, allowing the
user access to PIL's format-specific options (including "quality",
"progressive", and "optimize" for JPEGs).
2011-11-16 10:00:35 -05:00
FI$H 2000
7ce43309ad Adds SmartCrop resize processor, with tests. 2011-11-10 10:54:58 -05:00
Bryan Veloso
0f7c400239 Basic tests for extension_to_format and format_to_extension. References #45. 2011-11-03 02:57:01 +09:00