summaryrefslogtreecommitdiff
path: root/tests/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-07-03 17:29:17 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-07-03 17:37:44 -0400
commita294f8cc3f2e5fc2cad048bc4ce27c57554e2688 (patch)
tree335359e7a973aea5289b7597d27d1f87cf1dc822 /tests/requirements.py
parentad5390c0e344008014bcbc8edfe1050ce465ede2 (diff)
downloadalembic-a294f8cc3f2e5fc2cad048bc4ce27c57554e2688.tar.gz
- Implemented support for :meth:`.BatchOperations.create_primary_key`
and :meth:`.BatchOperations.create_check_constraint`. fixes #305 - table keyword arguments are copied from the original reflected table, such as the "mysql_engine" keyword argument.
Diffstat (limited to 'tests/requirements.py')
-rw-r--r--tests/requirements.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/requirements.py b/tests/requirements.py
index 0304919..c5d538d 100644
--- a/tests/requirements.py
+++ b/tests/requirements.py
@@ -41,6 +41,10 @@ class DefaultRequirements(SuiteRequirements):
)
@property
+ def check_constraints_w_enforcement(self):
+ return exclusions.fails_on("mysql")
+
+ @property
def unnamed_constraints(self):
"""constraints without names are supported."""
return exclusions.only_on(['sqlite'])
@@ -53,3 +57,10 @@ class DefaultRequirements(SuiteRequirements):
@property
def reflects_unique_constraints_unambiguously(self):
return exclusions.fails_on("mysql")
+
+ @property
+ def reflects_pk_names(self):
+ """Target driver reflects the name of primary key constraints."""
+
+ return exclusions.fails_on_everything_except(
+ 'postgresql', 'oracle', 'mssql', 'sybase')