summaryrefslogtreecommitdiff
path: root/test/orm/memusage.py
Commit message (Collapse)AuthorAgeFilesLines
* move memusage to the isolation chamberrel_0_5_0Mike Bayer2009-01-061-352/+0
|
* - identity_map._mutable_attrs is a plain dict since we manage weakref ↵Mike Bayer2008-10-021-3/+50
| | | | | | removal explicitly - call list() around iteration of _mutable_attrs to guard against async gc.collect() while check_modified() is running
* re-enabled memusage and connect tests.Jason Kirtland2008-09-271-1/+1
|
* Added query_cls= override to scoped_session's query_propertyJason Kirtland2008-09-271-1/+1
|
* tweakMike Bayer2008-05-101-0/+1
|
* another approachMike Bayer2008-05-101-11/+12
|
* cant reproduce buildbot's memory profiling, random fix attemptMike Bayer2008-05-101-2/+2
|
* py2.4 seems to have different memory behavior than 2.5, test for both ↵Mike Bayer2008-05-101-7/+14
| | | | "adjusting down" as well as "flatline"
* correcting dataload profiles for various testsMike Bayer2008-05-101-7/+15
|
* Chipping away at remaining cruft.Jason Kirtland2008-05-101-4/+4
|
* - fixed a fairly critical bug in clause adaption/corresponding column in ↵Mike Bayer2008-05-091-7/+7
| | | | | | | conjunction with annotations - implicit order by is removed, modified many tests to explicitly set ordering, probably many more to go once it hits the buildbot.
* Test suite modernization in progress. Big changes:Jason Kirtland2008-05-091-26/+31
| | | | | | | | | | | - @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
* fix up some unit testsMike Bayer2008-04-011-5/+8
|
* - 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
* - lazy loader can now handle a join condition where the "bound"Mike Bayer2008-02-091-1/+1
| | | | | | | | | | | column (i.e. the one that gets the parent id sent as a bind parameter) appears more than once in the join condition. Specifically this allows the common task of a relation() which contains a parent-correlated subquery, such as "select only the most recent child item". [ticket:946] - col_is_part_of_mappings made more strict, seems to be OK with tests - memusage will dump out the size list in an assertion fail
* forcibly clean out _sessions, _mapper_registry at test start to eliminate ↵Mike Bayer2008-02-041-3/+11
| | | | leftovers from other unit tests (from other test scripts) still stored in memory
* add some extra assertions to ensure all mappers are gone after ↵Mike Bayer2008-02-041-2/+13
| | | | clear_mappers() (for [ticket:963])
* - testbase is gone, replaced by testenvJason Kirtland2008-01-121-36/+36
| | | | | | - 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
* - simplified _mapper_registry further. its now just a weakkeydict of ↵Mike Bayer2007-12-141-1/+67
| | | | | | | | | | mapper->True, stores all mappers including non primaries, and is strictly used for the list of "to compile/dispose". - all global references are now weak referencing. if you del a mapped class and any dependent classes, its mapper and all dependencies fall out of scope. - attributes.py still had issues which were barely covered by tests. added way more tests (coverage.py still says 71%, doh) fixed things, took out unnecessary commit to states. attribute history is also asserted for ordering.
* added an inheritance testMike Bayer2007-12-141-0/+51
|
* - added a test for boolean saves/retrievesMike Bayer2007-12-091-1/+1
|
* - fix up the fixtures comparatorMike Bayer2007-12-091-39/+107
| | | | - strengthened memory profiling test
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-11/+8
| | | | 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
* Completed previously missed patches from tickets 422 and 415Rick Morrison2007-02-181-2/+2
| | | | | get unit tests to work with pyodbc [ticket:481] fix blank password on adodbapi [ticket:371]
* further work on insuring clear_mappers() really works. assignmapper identifiedMike Bayer2007-01-301-0/+79
as a much trickier thing to clean out. added a unit test so that if any new collections get introduced we are still testing.