From 9687b272bdc76dd318566f02aaafe26a6089d077 Mon Sep 17 00:00:00 2001 From: Scott Dugas Date: Thu, 23 Oct 2014 11:46:34 -0400 Subject: [PATCH] Added new requirement for check_constraints --- test/engine/test_reflection.py | 1 + test/requirements.py | 6 ++++++ 2 files changed, 7 insertions(+) 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.""" -- 2.47.3