Skip to content

Commit

Permalink
Merge pull request #1 from radarhere/pillow_fix_eps_gs_command
Browse files Browse the repository at this point in the history
Added test
  • Loading branch information
baumatron committed Oct 12, 2015
2 parents d37a8c7 + 0eabe68 commit cd12462
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/test_file_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,18 @@ def test_resize(self):
# Arrange
image1 = Image.open(file1)
image2 = Image.open(file2)
image3 = Image.open("Tests/images/illu10_preview.eps")
new_size = (100, 100)

# Act
image1 = image1.resize(new_size)
image2 = image2.resize(new_size)
image3 = image3.resize(new_size)

# Assert
self.assertEqual(image1.size, new_size)
self.assertEqual(image2.size, new_size)
self.assertEqual(image3.size, new_size)

def test_thumbnail(self):
# Issue #619
Expand Down

0 comments on commit cd12462

Please sign in to comment.