2006-03-31 20:57:31 -04:00
|
|
|
from test.test_support import run_unittest, TestSkipped
|
|
|
|
|
|
|
|
try:
|
|
|
|
import _sqlite3
|
|
|
|
except ImportError:
|
|
|
|
raise TestSkipped('no sqlite available')
|
2008-02-29 18:08:41 -04:00
|
|
|
from sqlite3.test import (dbapi, types, userfunctions, py25tests,
|
2006-04-23 12:24:26 -03:00
|
|
|
factory, transactions, hooks, regression)
|
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(),
|
|
|
|
hooks.suite(), regression.suite())
|
2006-03-31 20:57:31 -04:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
test_main()
|