blob: db273316eaa27b1d27de2e355012614c209903bf [file] [log] [blame]
R. David Murray3db8a342009-03-30 23:05:48 +00001from test.test_support import run_unittest, import_module
Anthony Baxterc51ee692006-04-01 00:57:31 +00002
R. David Murray840ac922009-03-31 23:45:39 +00003# Skip test if _sqlite3 module was not built.
R. David Murray3db8a342009-03-30 23:05:48 +00004import_module('_sqlite3')
5
Gerhard Häring1cc60ed2008-02-29 22:08:41 +00006from sqlite3.test import (dbapi, types, userfunctions, py25tests,
Gregory P. Smithb9803422008-03-28 08:32:09 +00007 factory, transactions, hooks, regression,
8 dump)
Anthony Baxterc51ee692006-04-01 00:57:31 +00009
10def test_main():
Senthil Kumarance8e33a2010-01-08 19:04:16 +000011 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
12 py25tests.suite(), factory.suite(), transactions.suite(),
13 hooks.suite(), regression.suite(), dump.suite())
Anthony Baxterc51ee692006-04-01 00:57:31 +000014
15if __name__ == "__main__":
16 test_main()