PageRenderTime 31ms CodeModel.GetById 28ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/test/test_sqlite.py

http://unladen-swallow.googlecode.com/
Python | 17 lines | 14 code | 3 blank | 0 comment | 1 complexity | 3cf99e74128e2f3d4bc26a98d16dc393 MD5 | raw file
 1from test.test_support import run_unittest, TestSkipped
 2
 3try:
 4    import _sqlite3
 5except ImportError:
 6    raise TestSkipped('no sqlite available')
 7from sqlite3.test import (dbapi, types, userfunctions, py25tests,
 8                                factory, transactions, hooks, regression,
 9                                dump)
10
11def test_main():
12    run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
13                 py25tests.suite(), factory.suite(), transactions.suite(),
14                 hooks.suite(), regression.suite(), dump.suite())
15
16if __name__ == "__main__":
17    test_main()