def test_fl_create_from_bitmapdata__ok(self):
     # test should NOT fail
     self.statusmsg = "%s: should NOT fail." % \
             sys._getframe().f_code.co_name
     xbmdata = "\x45\x46\x47\x48\x49\x25\x26\x27\x28\x29\x05\x06\x07" \
               "\x08\x09\x60\x61\x62\x63\x64\x68\x86\xaa\xab\xac\xad"
     pixm = xfl.fl_create_from_bitmapdata(self.win0, xbmdata, 15, 15)
 def test_fl_create_from_bitmapdata__fail3(self):
     # failing: 2st arg missing
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     pixm = xfl.fl_create_from_bitmapdata(self.win0, 15, 15)
 def test_fl_create_from_bitmapdata__fail2(self):
     # failing: 1st and 2nd args of unfit type
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     xbmdata = "\x45\x46\x47\x48\x49\x25\x26\x27\x28\x29\x05\x06\x07" \
               "\x08\x09\x60\x61\x62\x63\x64\x68\x86\xaa\xab\xac\xad"
     pixm = xfl.fl_create_from_bitmapdata(xbmdata, self.win0, 15, 15)
 def test_fl_create_from_bitmapdata__fail1(self):
     # failing: 2nd arg of unfit type
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     pixm = xfl.fl_create_from_bitmapdata(self.win0, self.form0, 15, 15)