From: Scott Dugas Date: Thu, 23 Oct 2014 21:59:27 +0000 (-0400) Subject: require check constraints for tests X-Git-Tag: rel_1_0_0~19^2~3^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdbea87958628b641a855d4c3b35833330de49e0;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git require check constraints for tests --- diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py index 2f054dac12..c0b5806ac0 100644 --- a/test/sql/test_constraints.py +++ b/test/sql/test_constraints.py @@ -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 diff --git a/test/sql/test_metadata.py b/test/sql/test_metadata.py index 4a484dbac8..ff79c126a4 100644 --- a/test/sql/test_metadata.py +++ b/test/sql/test_metadata.py @@ -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()