test_sqlite.py revision 3db8a3432bd84b58bdc7da2c9872777c537a4d09
1import unittest 2from test.test_support import run_unittest, import_module 3 4#Skip test of _sqlite3 module not installed 5import_module('_sqlite3') 6 7from sqlite3.test import (dbapi, types, userfunctions, py25tests, 8 factory, transactions, hooks, regression, 9 dump) 10 11def test_main(): 12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(), 13 py25tests.suite(), factory.suite(), transactions.suite(), 14 hooks.suite(), regression.suite(), dump.suite()) 15 16if __name__ == "__main__": 17 test_main() 18