Mercurial > ift6266
diff test.py @ 174:ff26436d42d6
Make data_generation.transformations importable and fixup test.py to not try some of the modules.
author | Arnaud Bergeron <abergeron@gmail.com> |
---|---|
date | Sat, 27 Feb 2010 12:18:26 -0500 |
parents | 050c7ff6b449 |
children | 92ee9896020d 92c9a6c48ce9 |
line wrap: on
line diff
--- a/test.py Sat Feb 27 12:01:08 2010 -0500 +++ b/test.py Sat Feb 27 12:18:26 2010 -0500 @@ -5,8 +5,11 @@ predefs = ift6266.__dict__ for (_, name, ispkg) in pkgutil.walk_packages(ift6266.__path__, ift6266.__name__+'.'): if not ispkg: - if name.startswith('ift6266.scripts') or \ - name in ['ift6266.test']: + if name.startswith('ift6266.scripts.') or \ + name.startswith('ift6266.data_generation.transformations.pycaptcha.') or \ + name in ['ift6266.test', + 'ift6266.data_generation.transformations.testmod', + 'ift6266.data_generation.transformations.gimp_script']: continue print "Testing:", name __import__(name)