From: Mike Bayer Date: Mon, 11 Apr 2011 00:53:14 +0000 (-0400) Subject: test only runs on sqlite X-Git-Tag: rel_0_7b4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c67b0c56a3d0fa64a866ae8eb5e5860fbc7e7793;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git test only runs on sqlite --- 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):