blob: 37481c0e566e60ac4b0b869c088d3c1860fde596 [file] [log] [blame]
Benjamin Petersonbec087f2009-03-26 21:10:30 +00001import unittest
2from test.test_support import run_unittest
Anthony Baxterc51ee692006-04-01 00:57:31 +00003
4try:
5 import _sqlite3
6except ImportError:
Benjamin Petersonbec087f2009-03-26 21:10:30 +00007 raise unittest.SkipTest('no sqlite available')
Gerhard Häring1cc60ed2008-02-29 22:08:41 +00008from sqlite3.test import (dbapi, types, userfunctions, py25tests,
Gregory P. Smithb9803422008-03-28 08:32:09 +00009 factory, transactions, hooks, regression,
10 dump)
Anthony Baxterc51ee692006-04-01 00:57:31 +000011
12def test_main():
13 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
Gerhard Häring1cc60ed2008-02-29 22:08:41 +000014 py25tests.suite(), factory.suite(), transactions.suite(),
Gregory P. Smithb9803422008-03-28 08:32:09 +000015 hooks.suite(), regression.suite(), dump.suite())
Anthony Baxterc51ee692006-04-01 00:57:31 +000016
17if __name__ == "__main__":
18 test_main()