Exemple #1
0
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)
Exemple #2
0
def build_pasberth_rb_icon():
    pri = sif.open(expand_path_fixture("pasberth_rb_icon/pri.sif"))
    return pri.build()
Exemple #3
0
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)