summaryrefslogtreecommitdiff
path: root/test/all_tests.py
blob: df1a03d801ce41f28a58bea5756dd44ed0e402ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
"""
This combines all PySQLite test suites into one big one.
"""

import unittest, sys
import api_tests, logging_tests, lowlevel_tests, pgresultset_tests, type_tests
import userfunction_tests, transaction_tests

def suite():
    suite = unittest.TestSuite((lowlevel_tests.suite(), api_tests.suite(),
            type_tests.suite(), userfunction_tests.suite(),
            transaction_tests.suite(), pgresultset_tests.suite(),
            logging_tests.suite()))

    return suite

def main():
    runner = unittest.TextTestRunner()
    runner.run(suite())

if __name__ == "__main__":
    main()