blob: 167408cd3dbf68daa1771e8a85868bb1504d431e [file] [log] [blame]
Benjamin Petersonbec087f2009-03-26 21:10:30 +00001import unittest
R. David Murray3db8a342009-03-30 23:05:48 +00002from test.test_support import run_unittest, import_module
Anthony Baxterc51ee692006-04-01 00:57:31 +00003
R. David Murray840ac922009-03-31 23:45:39 +00004# Skip test if _sqlite3 module was not built.
R. David Murray3db8a342009-03-30 23:05:48 +00005import_module('_sqlite3')
6
Gerhard Häring1cc60ed2008-02-29 22:08:41 +00007from sqlite3.test import (dbapi, types, userfunctions, py25tests,
Gregory P. Smithb9803422008-03-28 08:32:09 +00008 factory, transactions, hooks, regression,
9 dump)
Anthony Baxterc51ee692006-04-01 00:57:31 +000010
11def test_main():
Senthil Kumarance8e33a2010-01-08 19:04:16 +000012 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
13 py25tests.suite(), factory.suite(), transactions.suite(),
14 hooks.suite(), regression.suite(), dump.suite())
Anthony Baxterc51ee692006-04-01 00:57:31 +000015
16if __name__ == "__main__":
17 test_main()