示例#1
0
def suite():
    tests = [dbapi.suite(), types.suite(), userfunctions.suite(),
      factory.suite(), transactions.suite(), hooks.suite(), regression.suite(), dump.suite()]
    if sys.version_info >= (2, 5, 0):
        from pysqlite2.test.py25 import py25tests
        tests.append(py25tests.suite())

    return unittest.TestSuite(tuple(tests))
示例#2
0
def suite():
    tests = [
        dbapi.suite(),
        types.suite(),
        userfunctions.suite(),
        lock_manager.suite(),
        factory.suite(),
        transactions.suite(),
        hooks.suite(),
        regression.suite(),
        dump.suite()
    ]
    if sys.version_info >= (2, 5, 0):
        from pysqlite2.test.py25 import py25tests
        tests.append(py25tests.suite())

    return unittest.TestSuite(tuple(tests))
示例#3
0
def suite():
    return unittest.TestSuite(
        (dbapi.suite(), types.suite(), userfunctions.suite(), factory.suite(),\
         transactions.suite(), hooks.suite(), regression.suite()))
示例#4
0
def suite():
    tests = [dbapi.suite(), types.suite(), userfunctions.suite(),
      factory.suite(), transactions.suite(), hooks.suite(), regression.suite(), dump.suite()]

    return unittest.TestSuite(tuple(tests))
def suite():
    return unittest.TestSuite(
        (dbapi.suite(), types.suite(), userfunctions.suite(), factory.suite(),\
         transactions.suite(), hooks.suite(), regression.suite()))