summaryrefslogtreecommitdiff
path: root/test/engine/test_reflection.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-08-28 17:31:40 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-08-28 17:31:40 -0400
commit97168dbf69f8aa21de2e764a4a4993215cb9b726 (patch)
treece6b6f81eb422514877a4b5165e9246c46be9f0c /test/engine/test_reflection.py
parentfe66951f5de6a2b201dc3ecc2261f4f8b8888e9f (diff)
downloadsqlalchemy-97168dbf69f8aa21de2e764a4a4993215cb9b726.tar.gz
plus some more adjustments for mysql, or in general if an Index refers to
in-python only cols
Diffstat (limited to 'test/engine/test_reflection.py')
-rw-r--r--test/engine/test_reflection.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py
index 532de1c35..4b8fe8a04 100644
--- a/test/engine/test_reflection.py
+++ b/test/engine/test_reflection.py
@@ -1430,11 +1430,13 @@ class ColumnEventsTest(fixtures.TestBase):
'to_reflect',
cls.metadata,
Column('x', sa.Integer, primary_key=True),
+ test_needs_fk=True
)
cls.related = Table(
'related',
cls.metadata,
- Column('q', sa.Integer, sa.ForeignKey('to_reflect.x'))
+ Column('q', sa.Integer, sa.ForeignKey('to_reflect.x')),
+ test_needs_fk=True
)
sa.Index("some_index", cls.to_reflect.c.x)
cls.metadata.create_all(testing.db)