summaryrefslogtreecommitdiff
path: root/test/engine/execute.py
Commit message (Collapse)AuthorAgeFilesLines
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-166/+0
| | | | | See README.unittests for information on how to run the tests. [ticket:970]
* - _execute_clauseelement() goes back to beingMike Bayer2008-12-171-3/+3
| | | | | | | | | | | | | | | | a private method. Subclassing Connection is not needed now that ConnectionProxy is available. - tightened the interface for the various _execute_XXX() methods to reduce ambiguity - __distill_params() no longer creates artificial [{}] entry, blank dict is no longer passed through to do_execute() in any case unless explicitly sent from the outside as in connection.execute("somestring"), {}) - fixed a few old sql.query tests which were doing that - removed needless do_execute() from mysql dialect - fixed charset param not properly being sent to _compat_fetchone() in mysql
* Modified fails_on testing decorator to take a reason for the failure.Michael Trier2008-12-121-2/+2
| | | | | This should assist with helping to document the reasons for testing failures. Currently unspecified failures are defaulted to 'FIXME: unknown'.
* indicated that test_empty_insert fails on mssql since pyodbc returns a -1 ↵Michael Trier2008-10-091-2/+2
| | | | always for the result.rowcount.
* fixed test for #1175Mike Bayer2008-10-051-6/+5
|
* Corrects issue where engine.execute raised exception when given empty list. ↵Michael Trier2008-10-041-0/+7
| | | | Fixes #1175.
* - Removed @unsupportedJason Kirtland2008-05-141-1/+1
|
* Tag some tests that fail under FirebirdLele Gaifax2008-05-131-0/+1
|
* Test suite modernization in progress. Big changes:Jason Kirtland2008-05-091-1/+1
| | | | | | | | | | | - @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
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-4/+86
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* fixing recent schema.py changes to work with oracle 'owner' attributerel_0_4_3Mike Bayer2008-02-141-1/+1
|
* - updated the naming scheme of the base test classes in test/testlib/testing.py;Mike Bayer2008-02-111-1/+1
| | | | | tests extend from either TestBase or ORMTest, using additional mixins for special assertion methods as needed
* - testbase is gone, replaced by testenvJason Kirtland2008-01-121-9/+9
| | | | | | - 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
* Use an explicit ordering in the queryLele Gaifax2007-12-181-4/+4
|
* Firebird does use qmark style paramsLele Gaifax2007-12-131-1/+1
|
* - Removed @testing.supported. Dialects in development or maintained outsideJason Kirtland2007-12-131-7/+9
| | | | | | | | | | | the tree can now run the full suite of tests out of the box. - Migrated most @supported to @fails_on, @fails_on_everything_but, or (last resort) @unsupported. @fails_on revealed a slew of bogus test skippage, which was corrected. - Added @fails_on_everything_but. Yes, the first usage *was* "fails_on_everything_but('postgres')". How did you guess! - Migrated @supported in dialect/* to the new test-class attribute __only_on__. - Test classes can also have __unsupported_on__ and __excluded_on__.
* - Added initial version of MaxDB dialect.Jason Kirtland2007-10-231-1/+1
| | | | - All optional test Sequences are now optional=True
* Added test for DBAPIError exception wrapping.Jason Kirtland2007-10-141-1/+10
|
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-11/+6
| | | | maintenance branch in branches/rel_0_3.
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-061-1/+1
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* - Pulling pyformat test for MySQL-python, which fails on 3 driver versionsJason Kirtland2007-06-011-2/+4
| | | | (1.2.2b3, 1.2.2c1, 1.2.2)
* - some docstringsMike Bayer2007-04-201-1/+11
| | | | - some more test scenarios for raw bind params
* support positional parameters at the execute level even for DBs where we ↵Mike Bayer2007-04-191-1/+1
| | | | dont expect positional
* unit test with just one paramMike Bayer2007-04-191-1/+2
|
* - slight tweak to raw execute() change to also support tuples,Mike Bayer2007-04-031-4/+6
| | | | not just lists [ticket:523]
* - fixed argument passing to straight textual execute() on engine, connection.Mike Bayer2007-02-131-0/+56
can handle *args or a list instance for positional, **kwargs or a dict instance for named args, or a list of list or dicts to invoke executemany()