2016-12-09 20:30:22 +02:00
|
|
|
import unittest
|
|
|
|
|
2017-02-12 22:42:10 +02:00
|
|
|
from . import init_test, option_test, show_test, \
|
|
|
|
backup_test, delete_test, restore_test, validate_test, \
|
|
|
|
retention_test
|
2016-12-09 20:30:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
def load_tests(loader, tests, pattern):
|
|
|
|
suite = unittest.TestSuite()
|
|
|
|
suite.addTests(loader.loadTestsFromModule(init_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(option_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(show_test))
|
2016-12-12 18:21:15 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(backup_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(delete_test))
|
2016-12-13 19:45:50 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(restore_test))
|
2016-12-14 16:14:53 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(validate_test))
|
2017-02-12 22:42:10 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(retention_test))
|
2016-12-09 20:30:22 +02:00
|
|
|
|
|
|
|
return suite
|