diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-17 02:15:09 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-17 02:15:09 +0000 |
| commit | ecb5b87c19eeec41a0dc0d96af88454de17c6511 (patch) | |
| tree | e563f259b927ca101578ede84a789c9506d0214e /test | |
| parent | 53527a8a07bf620d2ed440bf3c28c6f30a0cebaf (diff) | |
| download | sqlalchemy-ecb5b87c19eeec41a0dc0d96af88454de17c6511.tar.gz | |
refactor to engine to have a separate SQLSession object. allows nested transactions.
util.ThreadLocal __hasattr__ method/raise_error param meaningless, removed
renamed old engines test to reflection
Diffstat (limited to 'test')
| -rw-r--r-- | test/alltests.py | 5 | ||||
| -rw-r--r-- | test/reflection.py (renamed from test/engines.py) | 2 | ||||
| -rw-r--r-- | test/tables.py | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/test/alltests.py b/test/alltests.py index 3199b89f9..d30f97287 100644 --- a/test/alltests.py +++ b/test/alltests.py @@ -12,11 +12,12 @@ def suite(): 'attributes', 'dependency', - # connectivity + # connectivity, execution 'pool', + 'engine', # schema/tables - 'engines', + 'reflection', 'testtypes', 'indexes', diff --git a/test/engines.py b/test/reflection.py index 3bb20c725..718957add 100644 --- a/test/engines.py +++ b/test/reflection.py @@ -10,7 +10,7 @@ from testbase import PersistTest import testbase import unittest, re -class EngineTest(PersistTest): +class ReflectionTest(PersistTest): def testbasic(self): # really trip it up with a circular reference diff --git a/test/tables.py b/test/tables.py index 927903e48..f1e1a845b 100644 --- a/test/tables.py +++ b/test/tables.py @@ -14,7 +14,7 @@ db = testbase.db users = Table('users', db, Column('user_id', Integer, Sequence('user_id_seq', optional=True), primary_key = True), Column('user_name', String(40)), - + mysql_engine='innodb' ) addresses = Table('email_addresses', db, |
