Example #1
0
 def setUpClass(cls):
     requires('gui')
     cls.root = Tk()
     cls.root.withdraw()
     cls.flist = filelist.FileList(cls.root)
     cls.file = __file__
     cls.path = os.path.dirname(cls.file)
     cls.module = os.path.basename(cls.file).rstrip('.py')
     cls.mb = browser.ModuleBrowser(cls.flist,
                                    cls.module, [cls.path],
                                    _utest=True)
Example #2
0
 def setUpClass(cls):
     requires('gui')
     cls.root = Tk()
     cls.root.withdraw()
     cls.mb = browser.ModuleBrowser(cls.root, __file__, _utest=True)