Home | History | Annotate | Download | only in test
      1 from test.test_support import run_unittest, import_module
      2 
      3 # Skip test if _sqlite3 module was not built.
      4 import_module('_sqlite3')
      5 
      6 from sqlite3.test import (dbapi, types, userfunctions, py25tests,
      7                                 factory, transactions, hooks, regression,
      8                                 dump)
      9 
     10 def test_main():
     11     run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
     12                  py25tests.suite(), factory.suite(), transactions.suite(),
     13                  hooks.suite(), regression.suite(), dump.suite())
     14 
     15 if __name__ == "__main__":
     16     test_main()
     17