mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-11 03:26:37 +03:00
22 lines
505 B
Python
22 lines
505 B
Python
|
import os
|
||
|
import unittest
|
||
|
|
||
|
dbname = os.environ.get('PSYCOPG2_TESTDB', 'test')
|
||
|
|
||
|
import test_psycopg2_dbapi20
|
||
|
import test_transaction
|
||
|
import types_basic
|
||
|
import extras_dictcursor
|
||
|
|
||
|
def test_suite():
|
||
|
suite = unittest.TestSuite()
|
||
|
suite.addTest(test_psycopg2_dbapi20.test_suite())
|
||
|
suite.addTest(test_transaction.test_suite())
|
||
|
suite.addTest(types_basic.test_suite())
|
||
|
suite.addTest(extras_dictcursor.test_suite())
|
||
|
return suite
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
unittest.main()
|
||
|
|