mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 11:30:19 +01:00
* Removed cruft.
* Version change to 1.0.2.
This commit is contained in:
@@ -36,6 +36,6 @@ RESOURCES_DIR = os.path.join(TOPDIR, "resources")
|
|||||||
GLADE_DIR = os.path.join(RESOURCES_DIR, "glade")
|
GLADE_DIR = os.path.join(RESOURCES_DIR, "glade")
|
||||||
STYLES_DIR = os.path.join(RESOURCES_DIR, "styles")
|
STYLES_DIR = os.path.join(RESOURCES_DIR, "styles")
|
||||||
APPL_SHORT_NAME = "pygtktalog2"
|
APPL_SHORT_NAME = "pygtktalog2"
|
||||||
APPL_VERSION = (1, 0, 1)
|
APPL_VERSION = (1, 0, 2)
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -62,15 +62,11 @@ def build_suite():
|
|||||||
classes.append(class_name)
|
classes.append(class_name)
|
||||||
|
|
||||||
modules = map(__import__, modules)
|
modules = map(__import__, modules)
|
||||||
#my_import(fname[:-3], class_name)
|
|
||||||
load = unittest.defaultTestLoader.loadTestsFromModule
|
load = unittest.defaultTestLoader.loadTestsFromModule
|
||||||
return unittest.TestSuite(map(load, modules))
|
return unittest.TestSuite(map(load, modules))
|
||||||
|
|
||||||
#exec('suite.addTest(TL().loadTestsFromTestCase('+class_name+'))')
|
|
||||||
#return suite
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
chdir(path.abspath(path.curdir))
|
chdir(path.abspath(path.curdir))
|
||||||
setup_path()
|
setup_path()
|
||||||
unittest.main(defaultTest="build_suite")
|
unittest.main(defaultTest="build_suite")
|
||||||
#unittest.TextTestRunner().run(build_suite())
|
|
||||||
|
|||||||
Reference in New Issue
Block a user