]> 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>
Thu, 16 Jul 2020 14:50:45 +0000 (08:50 -0600)
Bypass the test if the views are not being created.

Change-Id: I3945acb418575d12e5fe0e4657eb5e3b1c08b90e
(cherry picked from commit 6158fe6cbf69c29d51a8e57aab4e36d6b4598079)

lib/sqlalchemy/testing/suite/test_reflection.py

index 2142dd84ba61751b687be8a3b3fc8764db221200..ff9d2fd2ec528c6759e2aa3910d3434d3381bd19 100644 (file)
@@ -173,6 +173,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)