2009-03-26 18:10:30 -03:00
|
|
|
import unittest
|
2009-03-30 20:05:48 -03:00
|
|
|
from test.test_support import run_unittest, import_module
|
|
|
|
|
2009-03-31 20:45:39 -03:00
|
|
|
# Skip test if _sqlite3 module was not built.
|
2009-03-30 20:05:48 -03:00
|
|
|
import_module('_sqlite3')
|
2006-03-31 20:57:31 -04:00
|
|
|
|
2008-02-29 18:08:41 -04:00
|
|
|
from sqlite3.test import (dbapi, types, userfunctions, py25tests,
|
2008-03-28 05:32:09 -03:00
|
|
|
factory, transactions, hooks, regression,
|
|
|
|
dump)
|
2006-03-31 20:57:31 -04:00
|
|
|
|
|
|
|
def test_main():
|
|
|
|
run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
|
2008-02-29 18:08:41 -04:00
|
|
|
py25tests.suite(), factory.suite(), transactions.suite(),
|
2008-03-28 05:32:09 -03:00
|
|
|
hooks.suite(), regression.suite(), dump.suite())
|
2006-03-31 20:57:31 -04:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
test_main()
|