summaryrefslogtreecommitdiff
path: root/test/testbase.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-11-12 20:50:51 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-11-12 20:50:51 +0000
commitecee1fb16cf6b7b5d01187191ea23260b8bcef2a (patch)
tree58c9e83ed89f7b94bb6162ad9ab10a03281c31ae /test/testbase.py
parent2d4e0d27dcbf9e7ab5718b203812c54c61ec3a40 (diff)
downloadsqlalchemy-ecee1fb16cf6b7b5d01187191ea23260b8bcef2a.tar.gz
- create_engine() reworked to be strict about incoming **kwargs. all keyword
arguments must be consumed by one of the dialect, connection pool, and engine constructors, else a TypeError is thrown which describes the full set of invalid kwargs in relation to the selected dialect/pool/engine configuration.
Diffstat (limited to 'test/testbase.py')
-rw-r--r--test/testbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testbase.py b/test/testbase.py
index 509d81aee..ed68efd4d 100644
--- a/test/testbase.py
+++ b/test/testbase.py
@@ -98,9 +98,9 @@ def parse_argv():
if options.enginestrategy is not None:
opts['strategy'] = options.enginestrategy
if options.mockpool:
- db = engine.create_engine(db_uri, default_ordering=True, poolclass=pool.AssertionPool, **opts)
+ db = engine.create_engine(db_uri, poolclass=pool.AssertionPool, **opts)
else:
- db = engine.create_engine(db_uri, default_ordering=True, **opts)
+ db = engine.create_engine(db_uri, **opts)
db = EngineAssert(db)
import logging