def suite():
    suite = unittest.TestSuite()
    suite.addTests(test_preup.suite())
    suite.addTests(test_xml.suite())
    suite.addTests(test_oscap.suite())
    suite.addTests(test_api.suite())
    suite.addTests(test_kickstart.suite())
    return suite
def suite():
    settings.log_dir = os.getcwd()
    settings.preupg_log = os.path.join(settings.log_dir, "preupg.log")
    settings.preupg_report_log = os.path.join(settings.log_dir, "preupg-report.log")

    suite = unittest.TestSuite()
    from tests import test_preupg
    from tests import test_xml
    from tests import test_generation
    from tests import test_api
    from tests import test_kickstart
    from tests import test_inplace_risks
    from tests import test_creator
    suite.addTests(test_preupg.suite())
    suite.addTests(test_xml.suite())
    suite.addTests(test_kickstart.suite())
    suite.addTests(test_inplace_risks.suite())
    suite.addTests(test_api.suite())
    suite.addTests(test_creator.suite())
    return suite
Example #3
0
def suite():
    settings.log_dir = os.getcwd()
    settings.preupg_log = os.path.join(settings.log_dir, "preupg.log")
    settings.preupg_report_log = os.path.join(settings.log_dir,
                                              "preupg-report.log")

    suite = unittest.TestSuite()
    from tests import test_preupg
    from tests import test_xml
    from tests import test_generation
    from tests import test_api
    from tests import test_kickstart
    from tests import test_inplace_risks
    from tests import test_creator
    suite.addTests(test_preupg.suite())
    suite.addTests(test_xml.suite())
    suite.addTests(test_kickstart.suite())
    suite.addTests(test_inplace_risks.suite())
    suite.addTests(test_api.suite())
    suite.addTests(test_creator.suite())
    return suite