MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / setup_test_class

Method setup_test_class

test/dialect/mssql/test_query.py:469–476  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

467
468 @classmethod
469 def setup_test_class(cls):
470 with testing.db.connect().execution_options(
471 isolation_level="AUTOCOMMIT"
472 ) as conn:
473 try:
474 conn.exec_driver_sql("DROP FULLTEXT CATALOG Catalog")
475 except:
476 pass
477
478 @classmethod
479 def insert_data(cls, connection):

Callers

nothing calls this directly

Calls 3

execution_optionsMethod · 0.45
connectMethod · 0.45
exec_driver_sqlMethod · 0.45

Tested by

no test coverage detected