]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add requirement for test_get_view_definition
authorGord Thompson <gord@gordthompson.com>
Wed, 15 Jul 2020 22:00:56 +0000 (16:00 -0600)
committerGord Thompson <gord@gordthompson.com>
Wed, 15 Jul 2020 22:00:56 +0000 (16:00 -0600)
Bypass the test if the views are not being created.

Change-Id: I3945acb418575d12e5fe0e4657eb5e3b1c08b90e

lib/sqlalchemy/testing/suite/test_reflection.py

index 776d559d40ee3847be45b18a54bb2a8564e3eb33..151be757aa4cb042c0d87e055f7cacc359994bcf 100644 (file)
@@ -229,6 +229,7 @@ class QuotedNameArgumentTest(fixtures.TablesTest):
         insp.get_table_options(name)
 
     @quote_fixtures
+    @testing.requires.view_column_reflection
     def test_get_view_definition(self, name):
         insp = inspect(testing.db)
         assert insp.get_view_definition("view %s" % name)