From: Scott Dugas Date: Thu, 23 Oct 2014 15:46:34 +0000 (-0400) Subject: Added new requirement for check_constraints X-Git-Tag: rel_1_0_0~19^2~3^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9687b272bdc76dd318566f02aaafe26a6089d077;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Added new requirement for check_constraints --- diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py index c18b8b9446..087610333f 100644 --- a/test/engine/test_reflection.py +++ b/test/engine/test_reflection.py @@ -799,6 +799,7 @@ class ReflectionTest(fixtures.TestBase, ComparesTables): @testing.crashes('oracle', 'FIXME: unknown, confirm not fails_on') + @testing.requires.check_constraints @testing.provide_metadata def test_reserved(self): diff --git a/test/requirements.py b/test/requirements.py index 7eeabef2b4..432dc645cc 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -38,6 +38,12 @@ class DefaultRequirements(SuiteRequirements): no_support('mssql', 'not supported by database'), ]) + @property + def check_constraints(self): + """Target database must support check constraints.""" + + return exclusions.open() + @property def named_constraints(self): """target database must support names for constraints."""