Пример #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()))