Tree @6d879e77-af24-46fb-8da8-d053e0f3750e/upstream (Download .tar.gz)
- ..
- sql
- AQ.py
- BooleanVar.py
- BulkAQ.py
- Connection.py
- Cursor.py
- CursorVar.py
- DateTimeVar.py
- DbTypes.py
- DMLReturning.py
- DropTest.py
- Error.py
- Features12_1.py
- IntervalVar.py
- LobVar.py
- LongVar.py
- Module.py
- NCharVar.py
- NumberVar.py
- ObjectVar.py
- README.md
- Rowid.py
- SessionPool.py
- SetupTest.py
- SodaCollection.py
- SodaDatabase.py
- StringVar.py
- Subscription.py
- test.py
- test_dbapi20.py
- TestEnv.py
- TimestampVar.py
This directory contains the test suite for cx_Oracle.
-
The schemas and SQL objects that are referenced in the test suite can be created by running the Python script SetupTest.py. The script requires SYSDBA privileges and will prompt for these credentials as well as the names of the schemas that will be created, unless a number of environment variables are set as documented in the Python script TestEnv.py. Run the script using the following command:
python SetupTest.py
Alternatively, the SQL script can be run directly via SQL*Plus, which will always prompt for the names of the schemas that will be created. Run the script using the following command:
sqlplus sys/syspassword@hostname/servicename @sql/SetupTest.sql
-
Run the test suite by issuing the following command in the top-level directory of your cx_Oracle installation:
python setup.py test
Alternatively, you can run the test suite directly within this directory:
python test.py
-
After running the test suite, the schemas can be dropped by running the Python script DropTest.py. The script requires SYSDBA privileges and will prompt for these credentials as well as the names of the schemas that will be dropped, unless a number of environment variables are set as documented in the Python script TestEnv.py. Run the script using the following command:
python DropTest.py
Alternatively, the SQL script can be run directly via SQL*Plus, which will always prompt for the names of the schemas that will be dropped. Run the script using the following command:
sqlplus sys/syspassword@hostname/servicename @sql/DropTest.sql
History of test @6d879e77-af24-46fb-8da8-d053e0f3750e/upstream
- Update to ODPI-C 4.0.1 and add test to ensure that the offset is returned Anthony Tuininga 3 years ago
- Adjust test name to remove reference to very old version of Python. Anthony Tuininga 3 years ago
- Remove remaining references to Python 2 syntax. Anthony Tuininga 3 years ago
- Added test cases for cursor.lastrowid and SODA collection truncation (and added Anthony Tuininga 3 years ago
- Create TestLongs and TestLongRaws tables without compression (#437) Alex Henrie (commit: GitHub) 3 years ago
- Tweaks to boolean variable improvements patch supplied by Alex Henrie Anthony Tuininga 3 years ago
- Convert Python objects to booleans based on their Python truth value (#435) Alex Henrie (commit: GitHub) 3 years ago
- The database types CLOB, NCLOB, BFILE and BLOB no longer compare equal to Anthony Tuininga 4 years ago
- Reworked type management to clarify and simplify code (see release notes for Anthony Tuininga 4 years ago
- Remove commented out code Anthony Tuininga 4 years ago
- cx_Oracle 8 when it is released will not support Python 2.7. Anthony Tuininga 4 years ago
- Be consistent and always raise cx_Oracle.InterfaceError when a connection is Anthony Tuininga 4 years ago
- Ensure that the session time zone is UTC so that values can be compared without Anthony Tuininga 4 years ago
- Remove invalid test. Anthony Tuininga 4 years ago
- DatabaseError, not ProgrammingError is now returned as this check is performed Anthony Tuininga 4 years ago
- Added test cases for pls_integer and binary_integer data types. Anthony Tuininga 4 years ago
- Adjust test suite so that it runs unchanged against Oracle Cloud databases: Anthony Tuininga 4 years ago
- Restore support for setting numeric bind variables with boolean values. Anthony Tuininga 4 years ago
- Update to new default PDB service name. Anthony Tuininga 4 years ago
- Added test cases, particularly for bulk AQ operations. Anthony Tuininga 4 years ago
- Rename queues and queue tables to be more clear as to which is which. Anthony Tuininga 4 years ago
- Add support for setting a CLOB attribute on a SQL object, as requested Anthony Tuininga 5 years ago
- For Python 2.7, raw_input is needed to request input; also ensure that Anthony Tuininga 5 years ago
- Adjust formatting of PR #287. Anthony Tuininga 5 years ago
- Cursor.callproc method changed with respect to doc (#287) Andrey Petukhov (commit: Anthony Tuininga) 5 years ago
- Correct parsing of connect string so that the last @ symbol is searched for Anthony Tuininga 5 years ago
- Revert changes to return decimal numbers when the numeric precision was too Anthony Tuininga 5 years ago
- Added test cases for session tagging. Anthony Tuininga 5 years ago
- Use random password instead of hard coded password as a security measure. Anthony Tuininga 5 years ago
- Reworked test suite to eliminate the use of default passwords and to make the Anthony Tuininga 5 years ago