def METHOD_NAME(mocker: MockerFixture):
    create_engine_spy = mocker.spy(sa, "create_engine")
    ds = SQLDatasource(
        name="my_datasource",
        connection_string="sqlite:///",
        kwargs={"isolation_level": "SERIALIZABLE"},
    )
    print(ds)
    ds.test_connection()
    create_engine_spy.assert_called_once_with(
        "sqlite:///", **{"isolation_level": "SERIALIZABLE"}
    )