def test_fl_read_bitmapfile__fail3(self):
     # failing: 1st arg missing
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     xbmfile = "prova.xbm"
     pixm, w, h, hotx, hoty = xfl.fl_read_bitmapfile(xbmfile)
 def test_fl_read_bitmapfile__fail1(self):
     # failing: 2nd arg of unfit type
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     pixm, w, h, hotx, hoty = xfl.fl_read_bitmapfile(self.win0, self.win0)
 def test_fl_read_bitmapfile__fail2(self):
     # failing: 1st and 2nd args of unfit type
     self.statusmsg = "%s: should fail." % sys._getframe().f_code.co_name
     xbmfile = "prova.xbm"
     pixm, w, h, hotx, hoty = xfl.fl_read_bitmapfile(xbmfile, self.win0)
 def test_fl_read_bitmapfile__ok(self):
     # test should NOT fail
     self.statusmsg = "%s: should NOT fail." % \
             sys._getframe().f_code.co_name
     xbmfile = "prova.xbm"
     pixm, w, h, hotx, hoty = xfl.fl_read_bitmapfile(self.win0, xbmfile)