summaryrefslogtreecommitdiff
path: root/test/sql/unicode.py
Commit message (Collapse)AuthorAgeFilesLines
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-139/+0
| | | | | See README.unittests for information on how to run the tests. [ticket:970]
* Test suite modernization in progress. Big changes:Jason Kirtland2008-05-091-5/+2
| | | | | | | | | | | - @unsupported now only accepts a single target and demands a reason for not running the test. - @exclude also demands an exclusion reason - Greatly expanded @testing.requires.<feature>, eliminating many decorators in the suite and signficantly easing integration of multi-driver support. - New ORM test base class, and a featureful base for mapped tests - Usage of 'global' for shared setup going away, * imports as well
* - updated the naming scheme of the base test classes in test/testlib/testing.py;Mike Bayer2008-02-111-2/+2
| | | | | tests extend from either TestBase or ORMTest, using additional mixins for special assertion methods as needed
* *more* tweaks to avoid DEFAULT VALUES on sqliteMike Bayer2008-02-041-1/+1
|
* - add dummy column to appease older SQLite verisons in unicode.pyMike Bayer2008-02-041-1/+3
| | | | - add test "escape_literal_column" comiler method to start addressing literal '%' character
* escapedefaultstest passes on everythingMike Bayer2008-01-301-1/+0
|
* moved default escaping test to its own test so oracle gets itMike Bayer2008-01-301-0/+2
|
* - Oracle and others properly encode SQL used for defaultsMike Bayer2008-01-301-1/+22
| | | | | | like sequences, etc., even if no unicode idents are used since identifier preparer may return a cached unicode identifier.
* - testbase is gone, replaced by testenvJason Kirtland2008-01-121-6/+6
| | | | | | - Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase - testing.db has the configured db - Fixed up the perf/* scripts
* - Added initial version of MaxDB dialect.Jason Kirtland2007-10-231-5/+5
| | | | - All optional test Sequences are now optional=True
* Restored unicode foreign key tests for [ticket:729].Jason Kirtland2007-10-141-17/+26
|
* - initial sybase support checkin, [ticket:785]Mike Bayer2007-10-101-5/+5
|
* - moved unicode schema ORM tests to unitofwork.py tests. mostlyMike Bayer2007-08-151-34/+0
| | | | | | is to test mappers so limited DB support (really hard to get these unicode schemas to work...) - fixed [ticket:739]
* - merged "fasttypes" branch. this branch changes the signatureMike Bayer2007-08-141-0/+2
| | | | | | | | | | | | | of convert_bind_param() and convert_result_value() to callable-returning bind_processor() and result_processor() methods. if no callable is returned, no pre/post processing function is called. - hooks added throughout base/sql/defaults to optimize the calling of bind param/result processors so that method call overhead is minimized. special cases added for executemany() scenarios such that unneeded "last row id" logic doesn't kick in, parameters aren't excessively traversed. - new performance tests show a combined mass-insert/mass-select test as having 68% fewer function calls than the same test run against 0.3. - general performance improvement of result set iteration is around 10-20%.
* commented out unicode foriegn keys for now, not working on mysql or postgresMike Bayer2007-08-141-4/+13
|
* Added more unicode foreign key tests for [ticket:729]Jason Kirtland2007-08-121-3/+31
|
* - oracle reflection of case-sensitive names all fixed upMike Bayer2007-08-101-0/+6
| | | | - other unit tests corrected for oracle
* Revert r3169 and r3148 changes to unicode schema reflection test, will add ↵Jason Kirtland2007-08-041-5/+4
| | | | an explicit engine/reflection test to cover.
* Update for osxJason Kirtland2007-08-041-1/+1
|
* Rearranged engine initialization, its now easy to make ad-hoc testing ↵Jason Kirtland2007-08-031-11/+2
| | | | | | | engines that preserve all of the --options requested Promoted the 'utf8 bind' logic for tests needing utf8 connections into testlib Added a pause before issuing DROPs to rid the testing db of clutter
* - fixed table_names for postgres to return as dialect.encoding-decoded ↵Mike Bayer2007-08-031-3/+9
| | | | unicode strings
* Oops.Jason Kirtland2007-08-031-0/+1
|
* - Dialects can be queried for the server version (sqlite and mysql only with ↵Jason Kirtland2007-08-031-21/+16
| | | | | | | | | | | | | | this commit) - Mark everything in a test suite as failed when setUpAll fails. - Added test coverage for Unicode table names in metadata.reflect() - @testing.exclude() filters out tests by server version - Applied exclude to the test suite, MySQL 4.1 passes again (no XA or SAVEPOINT) - Removed MySQL charset-setting pool hook- charset=utf8&use_unicode=0 works just as well. (Am I nuts? I'd swear this didn't work before.) - Finally migrated some old MySQL-tests into the dialect test module - Corrected 'commit' and 'rollback' logic (and comment) for ancient MySQL versions lacking transactions entirely - Deprecated the MySQL get_version_info in favor of server_version_info - Added a big hunk-o-doc for MySQL.
* added distinct positional dictionary arg to query.params(), fixes [ticket:690]Mike Bayer2007-07-271-0/+1
|
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-15/+41
| | | | maintenance branch in branches/rel_0_3.
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-061-2/+2
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* - mysql uses "DESCRIBE [<schemaname>].<tablename>", catching exceptionsMike Bayer2007-04-291-4/+0
| | | | | | if table doesnt exist, in order to determine if a table exists. this supports unicode table names as well as schema names. tested with MySQL5 but should work with 4.1 series as well. (#557)
* - got unicode schemas to work with postgresMike Bayer2007-04-151-8/+25
| | | | | - unicode schema with mysql slightly improved, still cant do has_table - got reflection of unicode schemas working with sqlite, pg, mysql
* - preliminary support for unicode table and column names added.Mike Bayer2007-03-271-0/+66