1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-13 07:56:14 +01:00
github.com_openSUSE_osc/tests/suite.py

33 lines
966 B
Python
Raw Normal View History

2010-08-31 13:47:27 +02:00
import sys
import unittest
import test_update
import test_addfiles
import test_deletefiles
2010-08-25 13:50:49 +02:00
import test_revertfiles
import test_difffiles
import test_init_package
2010-10-09 16:25:44 +02:00
import test_init_project
import test_commit
import test_repairwc
import test_package_status
import test_project_status
import test_request
2011-02-22 16:27:53 +01:00
import test_setlinkrev
suite = unittest.TestSuite()
suite.addTests(test_addfiles.suite())
suite.addTests(test_deletefiles.suite())
2010-08-25 13:50:49 +02:00
suite.addTests(test_revertfiles.suite())
suite.addTests(test_update.suite())
suite.addTests(test_difffiles.suite())
suite.addTests(test_init_package.suite())
2010-10-09 16:25:44 +02:00
suite.addTests(test_init_project.suite())
suite.addTests(test_commit.suite())
suite.addTests(test_repairwc.suite())
suite.addTests(test_package_status.suite())
suite.addTests(test_project_status.suite())
suite.addTests(test_request.suite())
2011-02-22 16:27:53 +01:00
suite.addTests(test_setlinkrev.suite())
2010-08-31 13:47:27 +02:00
result = unittest.TextTestRunner(verbosity=1).run(suite)
sys.exit(not result.wasSuccessful())