Esempio n. 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))
Esempio n. 2
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))
Esempio n. 3
0
def suite():
    return unittest.TestSuite(
        (dbapi.suite(), types.suite(), userfunctions.suite(), factory.suite(),\
         transactions.suite()))
Esempio n. 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))