blob: f033772df6ca4fbcb407193086de642221ca8db0 [file] [log] [blame]
Anthony Baxterc51ee692006-04-01 00:57:31 +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,
Gerhard Häring3e99c0a2006-04-23 15:24:26 +00009 factory, transactions, hooks, regression)
Anthony Baxterc51ee692006-04-01 00:57:31 +000010
11def test_main():
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
Gerhard Häring3e99c0a2006-04-23 15:24:26 +000013 factory.suite(), transactions.suite(), hooks.suite(),
14 regression.suite())
Anthony Baxterc51ee692006-04-01 00:57:31 +000015
16if __name__ == "__main__":
17 test_main()