diff options
author | Scott Dugas <scott.dugas@foundationdb.com> | 2014-10-23 11:46:34 -0400 |
---|---|---|
committer | Scott Dugas <scott.dugas@foundationdb.com> | 2014-10-23 11:46:34 -0400 |
commit | 9687b272bdc76dd318566f02aaafe26a6089d077 (patch) | |
tree | 5fd2a2a6951ac540cc8f89f4e9772b6fbacac718 | |
parent | 9c0eb840788ed5971f0876958cfb9866c7af918d (diff) | |
download | sqlalchemy-9687b272bdc76dd318566f02aaafe26a6089d077.tar.gz |
Added new requirement for check_constraints
-rw-r--r-- | test/engine/test_reflection.py | 1 | ||||
-rw-r--r-- | test/requirements.py | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py index c18b8b944..087610333 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 7eeabef2b..432dc645c 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -39,6 +39,12 @@ class DefaultRequirements(SuiteRequirements): ]) @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.""" |