]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Added requirement for temporary tables
authorScott Dugas <scott.dugas@foundationdb.com>
Thu, 30 Oct 2014 15:06:45 +0000 (11:06 -0400)
committerScott Dugas <scott.dugas@foundationdb.com>
Thu, 30 Oct 2014 15:06:45 +0000 (11:06 -0400)
test/requirements.py
test/sql/test_metadata.py

index 432dc645cca2db6e9dbf1d62149c5f25fc97a3cf..21dd2913e31a48567c8f1c92fd1374c34df4339a 100644 (file)
@@ -126,6 +126,11 @@ class DefaultRequirements(SuiteRequirements):
                 "not supported by database"
             )
 
+    @property
+    def temporary_table(self):
+        """Target database must support CREATE TEMPORARY TABLE"""
+        return exclusions.open()
+
     @property
     def reflectable_autoincrement(self):
         """Target database must support tables that can automatically generate
index ff79c126a44e86ce2bbe446d68f730f4eb27b684..a209cdd7a2b4214548b1086b2d007a8815bbe582 100644 (file)
@@ -1038,6 +1038,7 @@ class InfoTest(fixtures.TestBase):
 
 class TableTest(fixtures.TestBase, AssertsCompiledSQL):
 
+    @testing.requires.temporary_table
     @testing.skip_if('mssql', 'different col format')
     def test_prefixes(self):
         from sqlalchemy import Table