summaryrefslogtreecommitdiff
path: root/test/dialect/test_sqlite.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-04-10 20:53:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-04-10 20:53:14 -0400
commitc67b0c56a3d0fa64a866ae8eb5e5860fbc7e7793 (patch)
tree28015c3e8847520d8470991301590832a3e24b49 /test/dialect/test_sqlite.py
parent1da499a838cb3cc50c98f7b32de6d35a09f00fe6 (diff)
downloadsqlalchemy-c67b0c56a3d0fa64a866ae8eb5e5860fbc7e7793.tar.gz
test only runs on sqlite
Diffstat (limited to 'test/dialect/test_sqlite.py')
-rw-r--r--test/dialect/test_sqlite.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py
index 20e3419c4..400edc2ce 100644
--- a/test/dialect/test_sqlite.py
+++ b/test/dialect/test_sqlite.py
@@ -670,8 +670,12 @@ class AutoIncrementTest(fixtures.TestBase, AssertsCompiledSQL):
class ReflectHeadlessFKsTest(fixtures.TestBase):
+ __only_on__ = 'sqlite'
+
def setup(self):
testing.db.execute("CREATE TABLE a (id INTEGER PRIMARY KEY)")
+ # this syntax actually works on other DBs perhaps we'd want to add
+ # tests to test_reflection
testing.db.execute("CREATE TABLE b (id INTEGER PRIMARY KEY REFERENCES a)")
def teardown(self):