From c67b0c56a3d0fa64a866ae8eb5e5860fbc7e7793 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 10 Apr 2011 20:53:14 -0400 Subject: [PATCH] test only runs on sqlite --- test/dialect/test_sqlite.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py index 20e3419c42..400edc2cee 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): -- 2.39.5