def test_should_return_false_if_image_is_png_with_transparency(self): self.assertFalse( is_png_without_transparency( self.get_test_image_path('test_with_transparency.png')))
def test_should_return_true_if_image_is_png_but_without_transparency(self): self.assertTrue( is_png_without_transparency(self.get_test_image_path('test.png')))
def test_should_return_false_if_image_is_not_an_image_to_begin_with(self): self.assertFalse( is_png_without_transparency(self.get_test_image_path('test.txt')))