summaryrefslogtreecommitdiff
path: root/tests/requirements.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/requirements.py')
-rw-r--r--tests/requirements.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/requirements.py b/tests/requirements.py
index 7512adf..afacd00 100644
--- a/tests/requirements.py
+++ b/tests/requirements.py
@@ -29,3 +29,13 @@ class DefaultRequirements(SuiteRequirements):
lambda config: config.db.dialect.supports_native_boolean
)
)
+
+ @property
+ def no_fk_names(self):
+ """foreign key constraints have no names in the DB"""
+ return exclusions.only_on(['sqlite'])
+
+ @property
+ def fk_names(self):
+ """foreign key constraints always have names in the DB"""
+ return exclusions.fails_on('sqlite')