blob: c1523e11ba3522d78f828143c8969c1edd843eaf [file] [log] [blame]
Thomas Wouters49fd7fa2006-04-21 10:40:58 +00001from test.test_support import run_unittest, TestSkipped
Thomas Wouters49fd7fa2006-04-21 10:40:58 +00002
3try:
4 import _sqlite3
5except ImportError:
6 raise TestSkipped('no sqlite available')
7from sqlite3.test import (dbapi, types, userfunctions,
Thomas Wouters477c8d52006-05-27 19:21:47 +00008 factory, transactions, hooks, regression)
Thomas Wouters49fd7fa2006-04-21 10:40:58 +00009
10def test_main():
11 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
Thomas Wouters477c8d52006-05-27 19:21:47 +000012 factory.suite(), transactions.suite(), hooks.suite(),
13 regression.suite())
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000014
15if __name__ == "__main__":
16 test_main()