mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-14 16:26:13 +01:00
31 lines
903 B
Python
31 lines
903 B
Python
import sys
|
|
import unittest
|
|
import test_update
|
|
import test_addfiles
|
|
import test_deletefiles
|
|
import test_revertfiles
|
|
import test_difffiles
|
|
import test_init_package
|
|
import test_init_project
|
|
import test_commit
|
|
import test_repairwc
|
|
import test_package_status
|
|
import test_project_status
|
|
import test_request
|
|
|
|
suite = unittest.TestSuite()
|
|
suite.addTests(test_addfiles.suite())
|
|
suite.addTests(test_deletefiles.suite())
|
|
suite.addTests(test_revertfiles.suite())
|
|
suite.addTests(test_update.suite())
|
|
suite.addTests(test_difffiles.suite())
|
|
suite.addTests(test_init_package.suite())
|
|
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())
|
|
result = unittest.TextTestRunner(verbosity=1).run(suite)
|
|
sys.exit(not result.wasSuccessful())
|