Pillow/Tests/test_file_tga.py
Alexey Buzanov 5dd0d377c9 rename test
2014-08-20 10:39:11 +04:00

21 lines
382 B
Python

from helper import unittest, PillowTestCase
from PIL import Image
class TestFileTga(PillowTestCase):
def test_id_field(self):
# tga file with id field
test_file = "Tests/images/tga_id_field.tga"
# Act
im = Image.open(test_file)
# Assert
self.assertEqual(im.size, (100, 100))
if __name__ == '__main__':
unittest.main()