summaryrefslogtreecommitdiff
path: root/test/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-12-06 13:29:32 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-12-06 13:33:57 -0500
commitc24423bc2e3fd227bf4a86599e28407bd190ee9e (patch)
treec6c69f26261a6bc69c1420c26732e39bdd891b7e /test/requirements.py
parent95cd2003bbe1b5da2d3c78ac845855126e03de2f (diff)
downloadsqlalchemy-c24423bc2e3fd227bf4a86599e28407bd190ee9e.tar.gz
- enhance only_on() to work with compound specs
- fix "temporary_tables" requirement
Diffstat (limited to 'test/requirements.py')
-rw-r--r--test/requirements.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/requirements.py b/test/requirements.py
index d1b7913f0..22ac13fe8 100644
--- a/test/requirements.py
+++ b/test/requirements.py
@@ -127,9 +127,15 @@ class DefaultRequirements(SuiteRequirements):
)
@property
- def temporary_table(self):
- """Target database must support CREATE TEMPORARY TABLE"""
- return exclusions.open()
+ def temporary_tables(self):
+ """target database supports temporary tables"""
+ return skip_if(
+ ["mssql"], "sql server has some other syntax?"
+ )
+
+ @property
+ def temp_table_reflection(self):
+ return self.temporary_tables
@property
def reflectable_autoincrement(self):