blob: f033772df6ca4fbcb407193086de642221ca8db0 [file] [log] [blame]
Thomas Wouters49fd7fa2006-04-21 10:40:58 +00001from test.test_support import run_unittest, TestSkipped
2import unittest
3
4try:
5 import _sqlite3
6except ImportError:
7 raise TestSkipped('no sqlite available')
8from sqlite3.test import (dbapi, types, userfunctions,
Thomas Wouters477c8d52006-05-27 19:21:47 +00009 factory, transactions, hooks, regression)
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000010
11def test_main():
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
Thomas Wouters477c8d52006-05-27 19:21:47 +000013 factory.suite(), transactions.suite(), hooks.suite(),
14 regression.suite())
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000015
16if __name__ == "__main__":
17 test_main()