summaryrefslogtreecommitdiff
path: root/test/orm/test_scoping.py
Commit message (Collapse)AuthorAgeFilesLines
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-5/+5
| | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* - fix a callcountMike Bayer2011-03-271-3/+0
| | | | | | - remove extra _load_fixtures() method. using the classbound version as the fixtures seem to have everything classlevel at the moment (wondering if we want to change that for non-classlevel setup/teardown)
* - remove test.sql._base, test.engine._base, test.orm._base, move those ↵Mike Bayer2011-03-271-6/+6
| | | | | | | classes to a new test.lib.fixtures module - move testing.TestBase to test.lib.fixtures - massive search and replace
* - remove @testing.resolve_artifact_names, replace with direct attributeMike Bayer2011-03-261-1/+2
| | | | | | | access to the cls/self.tables/classes registries - express orm/_base.py ORMTest in terms of engine/_base.py TablesTest, factor out common steps into TablesTest, remove AltEngineTest as a separate class. will further consolidate these base classes
* - whitespace removal bonanzaMike Bayer2011-01-021-2/+2
|
* - sqlalchemy.test and nose plugin moves back to being entirelyMike Bayer2010-11-281-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | outside of "sqlalchemy" and under "test/". Rationale: - coverage plugin works without issue, without need for an awkward additional package install - command line for "nosetests" isn't polluted with SQLAlchemy options [ticket:1949]
| * - move sqlalchemy.test to test.libMike Bayer2010-11-151-4/+4
| |
* | - move deprecated interfaces down to bottom of TOC, update verbiageMike Bayer2010-11-101-174/+0
|/ | | | | | | | | | | | | - more docs for engine, pool, DDL events - update DDL sequences documentation to use events - update DDL() docstring to refer to execute_if() - document parameters for DDLElement.execute_if() - add retval=True flag to Engine.on_before_execute(), on_before_cursor_execute(). wrap the function if retval=False, check for appropriate usage of the flag, add tests. - remove ScopedSession.mapper and tests entirely - remove ExtensionCarrier and tests - change remaining tests that use MapperExtension to use MapperEvents
* - scoped_session emits a warning when configure() isMike Bayer2010-09-211-1/+16
| | | | | called if a Session is already present (checks only the current thread) [ticket:1924]
* - The official name for the relation() function is nowMike Bayer2010-03-171-3/+3
| | | | | | relationship(), to eliminate confusion over the relational algebra term. relation() however will remain available in equal capacity for the foreseeable future. [ticket:1740]
* merge 0.6 series to trunk.Mike Bayer2009-08-061-8/+8
|
* Session.mapper is now *deprecated*.Mike Bayer2009-07-031-0/+6
| | | | | | | | | | | | | | Call session.add() if you'd like a free-standing object to be part of your session. Otherwise, a DIY version of Session.mapper is now documented at http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper The method will remain deprecated throughout 0.6. M test/ext/test_declarative.py M test/orm/test_scoping.py M lib/sqlalchemy/orm/scoping.py M CHANGES
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-0/+249
See README.unittests for information on how to run the tests. [ticket:970]