summaryrefslogtreecommitdiff
path: root/test/dialect
diff options
context:
space:
mode:
authornathan <nathan.alexander.rice@gmail.com>2013-12-09 11:52:23 -0500
committernathan <nathan.alexander.rice@gmail.com>2013-12-09 11:52:23 -0500
commitba73d619ca2199d96e92646021af3eb95186725e (patch)
tree95efeb2fb89a1c30005dd7e31fff3a5559d1d7d3 /test/dialect
parent64288c7d6ffc021e2388aa764e9a3b921506c7a0 (diff)
parentb653fb3a23a0388814d9ab79b884d64d396baff1 (diff)
downloadsqlalchemy-ba73d619ca2199d96e92646021af3eb95186725e.tar.gz
Merge branch 'rel_0_9' of https://github.com/nathan-rice/sqlalchemy into rel_0_9
Diffstat (limited to 'test/dialect')
-rw-r--r--test/dialect/mssql/test_compiler.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py
index f218d9d0e..1742f024c 100644
--- a/test/dialect/mssql/test_compiler.py
+++ b/test/dialect/mssql/test_compiler.py
@@ -538,6 +538,17 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
"CREATE INDEX bar ON foo (x > 5)"
)
+ def test_drop_index_w_schema(self):
+ m = MetaData()
+ t1 = Table('foo', m,
+ Column('x', Integer),
+ schema='bar'
+ )
+ self.assert_compile(
+ schema.DropIndex(Index("idx_foo", t1.c.x)),
+ "DROP INDEX idx_foo ON bar.foo"
+ )
+
def test_index_extra_include_1(self):
metadata = MetaData()
tbl = Table('test', metadata,