src/lms-ds-loader/tests_integration_sql/conftest.py
def mssql_connection() -> Iterable[Connection]:
    """
    Fixture that sets up a connection to use, and migrate the tables.
    Assumes existence of local SQLServer DB named 'test_integration_lms_toolkit'
    """
    engine = _new_mssql_engine()
    migrate(engine)

    connection = engine.connect()
    yield connection
    connection.close()

    Fixture that sets up a connection to use, and migrate the tables.
    Assumes existence of local SQLServer DB named 'test_integration_lms_toolkit'
    
Fixture that sets up a connection to use, and migrate the tables.
Assumes existence of local SQLServer DB named 'test_integration_lms_toolkit'
Fixture that sets up a connection to use and migrate the tables . Assumes existence of local SQLServer DB named ' test_integration_lms_toolkit '
def mssql_connection() -> Iterable[Connection]:
    engine = _new_mssql_engine()
    migrate(engine)
    connection = engine.connect()
    yield connection
    connection.close()
def mssql_connection ( ) -> Iterable [ Connection ] : engine = _new_mssql_engine ( ) migrate ( engine ) connection = engine . connect ( ) yield connection connection . close ( )
Fixture that sets up a connection to use, and migrate the tables.
Fixture that sets up a connection to use and migrate the tables .
"""
    Fixture that sets up a connection to use, and migrate the tables.
    Assumes existence of local SQLServer DB named 'test_integration_lms_toolkit'
    """