2016-12-09 21:30:22 +03:00
|
|
|
import unittest
|
|
|
|
|
2017-02-12 23:42:10 +03:00
|
|
|
from . import init_test, option_test, show_test, \
|
2017-05-03 14:14:48 +03:00
|
|
|
backup_test, delete_test, restore_test, validate_test, \
|
|
|
|
retention_test, ptrack_clean, ptrack_cluster, \
|
|
|
|
ptrack_move_to_tablespace, ptrack_recovery, ptrack_vacuum, \
|
|
|
|
ptrack_vacuum_bits_frozen, ptrack_vacuum_bits_visibility, \
|
2017-05-17 12:46:38 +03:00
|
|
|
ptrack_vacuum_full, ptrack_vacuum_truncate, pgpro561, pgpro668
|
2017-05-03 14:14:48 +03:00
|
|
|
|
2016-12-09 21:30:22 +03:00
|
|
|
|
|
|
|
def load_tests(loader, tests, pattern):
|
2017-05-03 14:14:48 +03:00
|
|
|
suite = unittest.TestSuite()
|
2017-05-17 12:46:38 +03:00
|
|
|
suite.addTests(loader.loadTestsFromModule(pgpro561))
|
2017-05-15 02:43:05 +03:00
|
|
|
suite.addTests(loader.loadTestsFromModule(pgpro668))
|
2017-05-03 14:14:48 +03:00
|
|
|
suite.addTests(loader.loadTestsFromModule(init_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(option_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(show_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(backup_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(delete_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(restore_test))
|
2017-05-05 16:21:49 +03:00
|
|
|
suite.addTests(loader.loadTestsFromModule(validate_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(retention_test))
|
2017-05-03 14:14:48 +03:00
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_clean))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_cluster))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_move_to_tablespace))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_recovery))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_vacuum))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_vacuum_bits_frozen))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_vacuum_bits_visibility))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_vacuum_full))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(ptrack_vacuum_truncate))
|
2016-12-09 21:30:22 +03:00
|
|
|
|
2017-05-03 14:14:48 +03:00
|
|
|
return suite
|