]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
require check constraints for tests
authorScott Dugas <scott.dugas@foundationdb.com>
Thu, 23 Oct 2014 21:59:27 +0000 (17:59 -0400)
committerScott Dugas <scott.dugas@foundationdb.com>
Thu, 23 Oct 2014 21:59:27 +0000 (17:59 -0400)
test/sql/test_constraints.py
test/sql/test_metadata.py

index 2f054dac12ff3c8e2e9dbc969b5915d879069558..c0b5806ac02a9ee27d986715284520355116775b 100644 (file)
@@ -130,6 +130,7 @@ class ConstraintGenTest(fixtures.TestBase, AssertsExecutionResults):
             *assertions
         )
 
+    @testing.requires.check_constraints
     @testing.provide_metadata
     def test_check_constraint_create(self):
         metadata = self.metadata
index 4a484dbac8b190fe1099562375409a806f3ee312..ff79c126a44e86ce2bbe446d68f730f4eb27b684 100644 (file)
@@ -486,6 +486,7 @@ class MetaDataTest(fixtures.TestBase, ComparesTables):
 
 class ToMetaDataTest(fixtures.TestBase, ComparesTables):
 
+    @testing.requires.check_constraints
     def test_copy(self):
         from sqlalchemy.testing.schema import Table
         meta = MetaData()