]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add @requirements.schemas to test_create_table_schema
authorGord Thompson <gord@gordthompson.com>
Sat, 18 Apr 2020 14:41:04 +0000 (08:41 -0600)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Apr 2020 13:05:03 +0000 (09:05 -0400)
Prevent test_create_table_schema from failing for databases that do not support schemas.

Change-Id: I0f5f129c313ee6023be2e6d84610355afc48c05c
(cherry picked from commit 6e208823a66723c842975e0b75ec0e8b34ce0d2f)

lib/sqlalchemy/testing/suite/test_ddl.py

index 81a55e18ae47617111b575985b434fe6a9edb707..9028fe8b16f1155262796263c97ec7955527e445 100644 (file)
@@ -45,6 +45,7 @@ class TableDDLTest(fixtures.TestBase):
         self._simple_roundtrip(table)
 
     @requirements.create_table
+    @requirements.schemas
     @util.provide_metadata
     def test_create_table_schema(self):
         table = self._simple_fixture(schema=config.test_schema)