]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
test only runs on sqlite
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Apr 2011 00:53:14 +0000 (20:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Apr 2011 00:53:14 +0000 (20:53 -0400)
test/dialect/test_sqlite.py

index 20e3419c42a0f4e4d9489a3a7a0217bd64e05233..400edc2cee4f73e5553702e88886b663918ffb78 100644 (file)
@@ -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):