diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-03 15:07:14 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-03 15:07:14 -0400 |
| commit | daf209bd6b6fe94cbec162cef2a53c49e9f31cde (patch) | |
| tree | 3072a482649ef2130728235f7641fc51693c22dd /test | |
| parent | a6817579cee4fb2569d961b611a4190f3f9fb7ee (diff) | |
| download | sqlalchemy-daf209bd6b6fe94cbec162cef2a53c49e9f31cde.tar.gz | |
Ensure 'options' is always present in foreign key info
Regarding 0e88bcc30ed49193b91f248123f526fa30007f22, "options"
needs to be present as a key in the dictionary because Alembic
uses this as a guide to know if the backend is even capable of
reporting on foreign key options.
Change-Id: I271090f75088cfeec24315a878060f9b8a265335
Diffstat (limited to 'test')
| -rw-r--r-- | test/requirements.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/requirements.py b/test/requirements.py index 0609b3cbf..554e5296f 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -84,6 +84,9 @@ class DefaultRequirements(SuiteRequirements): return only_on(['oracle']) + @property + def foreign_key_constraint_option_reflection(self): + return only_on(['postgresql', 'mysql', 'sqlite']) @property def unbounded_varchar(self): |
