summaryrefslogtreecommitdiff
path: root/test/lib/engines.py
Commit message (Collapse)AuthorAgeFilesLines
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-429/+0
| | | | | | | 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.
* - further reorganization of test suite:Mike Bayer2012-09-261-5/+6
| | | | | | | | | | | - bootstrap and lib move to all absolute imports - testing.py is no longer internally referenced. - requirements move to be a pluggable class which can be overridden. - cleanup in the interests of third party testing, test/lib and test/bootstrap may move to be an independent package.
* - [feature] Connection event listeners canMike Bayer2012-07-181-10/+10
| | | | | | now be associated with individual Connection objects, not just Engine objects. [ticket:2511]
* - [bug] Postgresql dialect memoizes that an ENUM of aMike Bayer2011-10-291-1/+7
| | | | | | | | | particular name was processed during a create/drop sequence. This allows a create/drop sequence to work without any calls to "checkfirst", and also means with "checkfirst" turned on it only needs to check for the ENUM once. [ticket:2311]
* fix this test for oursqlMike Bayer2011-10-151-6/+6
|
* - Added an exception catch + warning for theMike Bayer2011-10-151-0/+54
| | | | | | | "return unicode detection" step within connect, allows databases that crash on NVARCHAR to continue initializing, assuming no NVARCHAR type implemented. [ticket:2299]
* - make sure we definitely get every connection createdMike Bayer2011-05-141-2/+23
| | | | | - ensure we lose self.conns, cx_oracle only closes on __del__ - fix reconnectingfixture to lose all connection references
* - given that Oracle's issue is not just open connections, but *closed* ones ↵Mike Bayer2011-05-091-0/+13
| | | | | | | | too, go really heavy handed and start marking tests as "requires.ad_hoc_engines", add a flag --low-connections that will switch the engine reaper mechanism to use as *few* distinct engines and connections as possible, many engine tests that really need their own engines are just skipped.
* comment out the rollback on after test since pg8000 can deadlock on this ↵Mike Bayer2011-04-301-3/+8
| | | | | | (and its clear why). but then what about the pypy jython team. ho hum.
* uurg, add a use_reaper argument and have zoomark skip the reaping for its ↵Mike Bayer2011-04-251-6/+8
| | | | very special mode of operation...
* - hardcore force every connection into a strong-referenced set, rollback on ↵Mike Bayer2011-04-251-17/+39
| | | | | | | | | every test, close on every context. this uses pool events but bypasses the pool's fairy/record/dispose services. pypy still seems to expose some holes in that at least as far as what some (or maybe just one, cant find it yet) of the tests does. haven't tested this too deeply, just on sqlite + postgres, cypthon 2.7 + pypy. will see what the buildbot says
* - no encoding with arraysMike Bayer2011-04-081-10/+16
| | | | - rework the "builtin types" thing with the ReplayableSession to be py3k compatible
* - convert @provide_metadata to use self accessMike Bayer2011-03-261-2/+4
| | | | | - having occasional issues with BasicEntity grabbing, if it persists may have to pass an explicit base class into setup_classes()/setup_mappers()
* - New DBAPI support for pymysql, a pure Python portMike Bayer2011-01-261-13/+9
| | | | of MySQL-python. [ticket:1991]
* - new dialect for Drizzle [ticket:2003]Mike Bayer2011-01-261-1/+1
| | | | - move mysqldb to a connector, can be shared among mysql/drizzle
* - whitespace removal bonanzaMike Bayer2011-01-021-17/+17
|
* - removes the "on_" prefix.Mike Bayer2010-12-301-3/+3
|
* - move topological, queue into utilMike Bayer2010-12-051-30/+27
| | | | | - move function_named into test.lib.util - use @decorator for all decorators in test/
* new calling style: event.listen(target, identifier, fn)Mike Bayer2010-12-011-3/+3
|
* - sqlalchemy.test and nose plugin moves back to being entirelyMike Bayer2010-11-281-5/+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-0/+305