test_sqlite.py revision bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1
1import unittest
2from test.test_support import run_unittest
3
4try:
5    import _sqlite3
6except ImportError:
7    raise unittest.SkipTest('no sqlite available')
8from sqlite3.test import (dbapi, types, userfunctions, py25tests,
9                                factory, transactions, hooks, regression,
10                                dump)
11
12def test_main():
13    run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
14                 py25tests.suite(), factory.suite(), transactions.suite(),
15                 hooks.suite(), regression.suite(), dump.suite())
16
17if __name__ == "__main__":
18    test_main()
19