
17. Testing the Database Connection
17. Testing the Database Connection
The package includes a test script that checks some of the database's features. As
side effect this also provides a good regression test for the mxODBC interface.
To start the test, simply run the script in mx/ODBC/Misc/test.pyc.
python mx/ODBC/Misc/test.pyc
The script will generate a few temporary tables (named mxODBC0001,
mxODBC0002, etc; no existing tables will be overwritten) and then test the interface
- database communication including many database related features such as data
types and support of various SQL dialects. The tables are automatically removed
after the tests have run through.
187
Commenti su questo manuale