def test_is_pasberth_rb_icon_03(): imgs = build_pasberth_rb_icon() icon03 = Image.open(expand_path_fixture("pasberth_rb_icon/img/03.png")) assertRoughlyEqual(imgs[2].image, icon03)
def build_pasberth_rb_icon(): pri = sif.open(expand_path_fixture("pasberth_rb_icon/pri.sif")) return pri.build()
def test_pasberth_rb_icon_01_size(): imgs = build_pasberth_rb_icon() icon01 = Image.open(expand_path_fixture("pasberth_rb_icon/img/01.png")) eq_(imgs[0].image.size, icon01.size)