Browse Source

note that cropping isn't tested yet

main
Brian Mattern 12 years ago
committed by Lakshmi Vyasarajan
parent
commit
6bbcf48f61
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/tests/ext/test_images.py

+ 1
- 1
hyde/tests/ext/test_images.py View File

@@ -182,6 +182,7 @@ class TestImageThumbSize(object):
assert nh == 50

class TestImageThumbnails(object):
# TODO: add tests for cropping? (not easy currently)

def setUp(self):
TEST_SITE.make()
@@ -268,7 +269,6 @@ class TestImageThumbnails(object):
im = Image.open(self._deployed_image(prefix, LANDSCAPE_IMAGE))
assert im.size[1] == 50


def test_larger_and_smaller(self):
prefix='thumb_'
meta = dict(thumbnails=[dict(larger=100, smaller=50, prefix=prefix, include=['*.jpg'])])


Loading…
Cancel
Save