def main(): #debug.activate() pytests = pysuite() alltests = unittest.TestSuite((pytests, )) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys sys.exit(not res.wasSuccessful())
def main(): #debug.activate() #journal.debug('phonon_coherent_inelastic_polyxtal_kernel').activate() #journal.debug('random').activate() pytests = pysuite() alltests = unittest.TestSuite( (pytests, ) ) unittest.TextTestRunner(verbosity=2).run(alltests)
def main(): #debug.activate() journal.debug('periodicdispersion_3d').activate() pytests = pysuite() alltests = unittest.TestSuite( (pytests, ) ) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys; sys.exit(not res.wasSuccessful())
def main(): #debug.activate() #journal.debug("CompositeNeutronScatterer_Impl").activate() pytests = pysuite() alltests = unittest.TestSuite( (pytests, ) ) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys; sys.exit(not res.wasSuccessful())
def main(): #debug.activate() #journal.debug('phonon_coherent_inelastic_polyxtal_kernel').activate() #journal.debug('random').activate() pytests = pysuite() alltests = unittest.TestSuite( (pytests, ) ) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys; sys.exit(not res.wasSuccessful())
def main(): TestCase.interactive = True #debug.activate() #journal.debug("CompositeNeutronScatterer_Impl").activate() #journal.debug('phonon_coherent_inelastic_polyxtal_kernel').activate() pytests = pysuite() alltests = unittest.TestSuite((pytests, )) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys sys.exit(not res.wasSuccessful())
def main(): register() #debug.activate() #journal.debug("mccomposite.geometry.ArrowIntersector").activate() #journal.debug("mccomposite.geometry.Locator").activate() #journal.debug("CompositeNeutronScatterer_Impl").activate() pytests = pysuite() alltests = unittest.TestSuite((pytests, )) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys sys.exit(not res.wasSuccessful())
def main(): #debug.activate() #journal.debug("CompositeNeutronScatterer_Impl").activate() journal.warning('mcstas2.parsers.ComponentInfo').deactivate() # comment out this line to hide the error msg in searching for component journal.debug("mcstas2.pyre_support").activate() import mcstas2.mcstas2bp pytests = pysuite() alltests = unittest.TestSuite((pytests, )) res = unittest.TextTestRunner(verbosity=2).run(alltests) import sys sys.exit(not res.wasSuccessful())
def main(): #debug.activate() #journal.debug("CompositeNeutronScatterer_Impl").activate() pytests = pysuite() alltests = unittest.TestSuite( (pytests, ) ) unittest.TextTestRunner(verbosity=2).run(alltests)
def main(): pytests = pysuite() alltests = unittest.TestSuite((pytests, )) unittest.TextTestRunner(verbosity=2).run(alltests) return