summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/test/testing.py
Commit message (Collapse)AuthorAgeFilesLines
* - move sqlalchemy.test to test.libMike Bayer2010-11-151-797/+0
|
* first step of [ticket:1949], remove the setuptools aspectMike Bayer2010-11-151-1/+1
| | | | of the plugin, move it to test/bootstrap
* - mssql+pymssql dialect now honors the "port" portionMike Bayer2010-10-241-2/+2
| | | | | of the URL instead of discarding it. [ticket:1952] - testing.only_on() accepts db specs optionally as a list
* - the NoseSQLAlchemyPlugin has been moved to aMike Bayer2010-10-171-1/+2
| | | | | | | | | | new package "sqlalchemy_nose" which installs along with "sqlalchemy". This so that the "nosetests" script works as always but also allows the --with-coverage option to turn on coverage before SQLAlchemy modules are imported, allowing coverage to work correctly. - added some new ignores
* - pending deprecation in 0.7 for the execute/scalar on clauseelementMike Bayer2010-09-071-2/+0
|
* - mapper _get_col_to_prop private method usedMike Bayer2010-09-051-0/+1
| | | | | | | | by the versioning example is deprecated; now use mapper.get_property_by_column() which will remain the public method for this. - turned TODO in the history example into an assertion with a descriptive reason
* - Another pass through the series of error messagesMike Bayer2010-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emitted when relationship() is configured with ambiguous arguments. The "foreign_keys" setting is no longer mentioned, as it is almost never needed and it is preferable users set up correct ForeignKey metadata, which is now the recommendation. If 'foreign_keys' is used and is incorrect, the message suggests the attribute is probably unnecessary. Docs for the attribute are beefed up. This because all confused relationship() users on the ML appear to be attempting to use foreign_keys due to the message, which only confuses them further since Table metadata is much clearer. - If the "secondary" table has no ForeignKey metadata and no foreign_keys is set, even though the user is passing screwed up information, it is assumed that primary/secondaryjoin expressions should consider only and all cols in "secondary" to be foreign. It's not possible with "secondary" for the foreign keys to be elsewhere in any case. A warning is now emitted instead of an error, and the mapping succeeds. [ticket:1877] - fixed incorrect "Alternate Collection Mappings" reference in the docs, not sure if someone wants to reference "Rows that Point to Themselves" function - "Collection Mapping" is "Advanced Collection Mapping", this section is troublesome since nobody really needs it but it is public API
* - Repaired missing import in psycopg2._PGNumeric type whenMike Bayer2010-04-071-0/+17
| | | | | | | | | | | unknown numeric is received. - psycopg2/pg8000 dialects now aware of REAL[], FLOAT[], DOUBLE_PRECISION[], NUMERIC[] return types without raising an exception. - introducing testing.provide_metadata for all these stupid little create/drop tests
* add some py3k caveatsMike Bayer2010-02-231-1/+1
|
* clean up some skips, added skip for sqlite + python2Mike Bayer2010-02-211-1/+6
|
* unicode fix that gets around nose's stringio usageMike Bayer2010-02-201-14/+4
|
* exclude this test for everyone but sqliteMike Bayer2010-02-151-1/+18
|
* - implement dynamic type_affinity for Oracle.NUMBERMike Bayer2010-01-171-6/+3
| | | | - standardize type tests on type affinity matches
* - INTERVAL supports an optional "precision" argumentMike Bayer2009-11-011-1/+2
| | | | | | | corresponding to the argument that PG accepts. - Added support for reflecting the INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND syntaxes of the INTERVAL type. [ticket:460]
* added a test for #1085Mike Bayer2009-09-301-2/+6
|
* merge from branches/clauseelement-nonzeroPhilip Jenvey2009-09-241-1/+1
| | | | | | adds a __nonzero__ to _BinaryExpression to avoid faulty comparisons during hash collisions (which only occur on Jython) fixes #1547
* - query.join() has been reworked to provide more consistentMike Bayer2009-09-181-3/+12
| | | | | | | | behavior and more flexibility (includes [ticket:1537]) - query.select_from() accepts multiple clauses to produce multiple comma separated entries within the FROM clause. Useful when selecting from multiple-homed join() clauses.
* - Fixed incorrect exception raise inMike Bayer2009-08-311-2/+5
| | | | | Weak/StrongIdentityMap.add() [ticket:1506]
* - Fixed column.copy() to copy defaults and onupdates.Mike Bayer2009-08-281-7/+1
| | | | [ticket:1373]
* python3k fixesMike Bayer2009-08-091-3/+18
|
* merge 0.6 series to trunk.Mike Bayer2009-08-061-45/+88
|
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-0/+701
See README.unittests for information on how to run the tests. [ticket:970]