summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/engine/reflection.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/engine/reflection.py b/test/engine/reflection.py
index 6445e55d5..3c5ba0357 100644
--- a/test/engine/reflection.py
+++ b/test/engine/reflection.py
@@ -529,11 +529,11 @@ class ReflectionTest(TestBase, ComparesTables):
def test_index_reflection(self):
m1 = MetaData(testing.db)
t1 = Table('party', m1,
- Column('id', Integer, nullable=False),
- Column('name', String(20), index=True)
+ Column('id', sa.Integer, nullable=False),
+ Column('name', sa.String(20), index=True)
)
- i1 = Index('idx1', t1.c.id, unique=True)
- i2 = Index('idx2', t1.c.name, t1.c.id, unique=False)
+ i1 = sa.Index('idx1', t1.c.id, unique=True)
+ i2 = sa.Index('idx2', t1.c.name, t1.c.id, unique=False)
m1.create_all()
try:
m2 = MetaData(testing.db)