blob: f8b2f9816b91635d931db090037978d513b349f5 [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 Murray3db8a342009-03-30 23:05:48 +00004#Skip test of _sqlite3 module not installed
5import_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():
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
Gerhard Häring1cc60ed2008-02-29 22:08:41 +000013 py25tests.suite(), factory.suite(), transactions.suite(),
Gregory P. Smithb9803422008-03-28 08:32:09 +000014 hooks.suite(), regression.suite(), dump.suite())
Anthony Baxterc51ee692006-04-01 00:57:31 +000015
16if __name__ == "__main__":
17 test_main()