summaryrefslogtreecommitdiff
path: root/test/ext/activemapper.py
Commit message (Collapse)AuthorAgeFilesLines
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-357/+0
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - updated the naming scheme of the base test classes in test/testlib/testing.py;Mike Bayer2008-02-111-3/+3
| | | | | 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-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
* Silenced deprecation warnings when testing deprecated extensions...Jason Kirtland2008-01-091-60/+60
|
* Added explicit length to more testing String columns.Jason Kirtland2008-01-091-14/+14
|
* - session checks more carefully when determining "object X already in ↵Mike Bayer2007-11-011-0/+1
| | | | | | | | | another session"; e.g. if you pickle a series of objects and unpickle (i.e. as in a Pylons HTTP session or similar), they can go into a new session without any conflict - added stricter checks around session.delete() similar to update() - shored up some old "validate" stuff in session/uow
* Changed some columns from TEXT to VARCHAR for sapdb.Jason Kirtland2007-10-221-2/+2
|
* Fix ActiveMapper unit testsPaul Johnston2007-10-131-5/+5
|
* - method call removalMike Bayer2007-08-201-1/+1
|
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-31/+30
| | | | maintenance branch in branches/rel_0_3.
* mssql: now passes still more unit tests, [ticket:481]Rick Morrison2007-03-191-1/+3
|
* - made kwargs parsing to Table strict; removed various obsoluete ↵Mike Bayer2006-11-261-0/+5
| | | | | | | | | | | "redefine=True" kw's from the unit tests - documented instance variables in ANSICompiler - fixed [ticket:120], adds "inline_params" set to ANSICompiler which DefaultDialect picks up on when determining defaults. added unittests to query.py - additionally fixed up the behavior of the "values" parameter on _Insert/_Update - more cleanup to sql/Select - more succinct organization of FROM clauses, removed silly _process_from_dict methods and JoinMarker object
* - cleanup on some instance vars in Select (is_scalar, is_subquery, _froms is ↵Mike Bayer2006-11-251-0/+1
| | | | | | | __froms, removed unused 'nowait', '_text', etc) - cleaned up __repr__ on Column, AbstractTypeEngine - added standalone intersect(_all), except(_all) functions, unit tests illustrating nesting patterns [ticket:247]
* - docstring on polymorphic_mappingMike Bayer2006-10-211-2/+38
| | | | - applied Simon Wittber's ActiveMapper version_id_col patch for [ticket:348]
* added an objectstore clearMike Bayer2006-08-091-1/+1
|
* added start of a many-to-many testMike Bayer2006-08-071-2/+58
|
* added count/count_by to assignmapper, plus a test in activemapper to try it outMike Bayer2006-07-131-0/+2
|
* sqlite detects version and disables CAST if version < 3.2.3Mike Bayer2006-07-111-1/+1
| | | | | fixes to unittests, mapper extension to work better with setting/unsetting extensions objectstore objects get 'session' attribute
* some refactorings to activemapper, made relationship() class have some ↵Mike Bayer2006-07-091-3/+35
| | | | polymorphic behavior for initializing its real relation, added support + unittest for self-referential relationship
* There were two significant changes in this commit:Jonathan LaCour2006-06-291-6/+4
| | | | | | | | | | | | * Added implicit primary keys to ActiveMapper. Now, if you do not speicfy a primary key on your objects when declaring them, an Integer primary key called `id` will automatically be added to your objects for you. * Commented out a large chunk of the process_relationships function that should no longer be necessary thanks to some of the deferred mapper compilation that was added in SQLAlchemy 0.2.3. I left it in the code, but commented it out just in case this change causes a problem in someone's else's code and I can put it back in if needed.
* inserting './lib/' into sys.path since PYTHONPATH no longer straightforward ↵Mike Bayer2006-06-291-2/+1
| | | | with latest setuptools
* Updated ActiveMapper to support order_by parameters on all relationships.Jonathan LaCour2006-06-281-13/+2
| | | | Thanks to Charles Duffy for this patch!
* reorganized unit tests into subdirectoriesMike Bayer2006-06-051-0/+237