shibukawa / imagesize_py

MIT License
227 stars 44 forks source link

missing test.jp2 file #2

Closed xantares closed 8 years ago

xantares commented 8 years ago

see test/test_get.py:

    def test_load_jpeg2000(self):
        width, height = imagesize.get(os.path.join(imagedir, "test.jp2"))
        self.assertEqual(width, 802)
        self.assertEqual(height, 670)

also, It could be great if you could setup travis integration to run these tests

imz commented 8 years ago

BTW, can you perhaps please help me:

What is the right command to run this test/test_get.py?

shibukawa commented 8 years ago

I will add travis integration soon.

I use nosetests to run test.

$ nosetests test
shibukawa commented 8 years ago

I added. Thank you.