MCPcopy Index your code
hub / github.com/marimo-team/marimo / test_empty_sql

Function test_empty_sql

tests/_sql/test_sql.py:308–315  ·  view source on GitHub ↗
(
    sqlite_engine: sa.Engine, duckdb_connection: duckdb.DuckDBPyConnection
)

Source from the content-addressed store, hash-verified

306
307@pytest.mark.skipif(not HAS_SQLALCHEMY, reason="SQLAlchemy not installed")
308def test_empty_sql(
309 sqlite_engine: sa.Engine, duckdb_connection: duckdb.DuckDBPyConnection
310) -> None:
311 result = sql("", engine=duckdb_connection)
312 assert result is None
313
314 result = sql("", engine=sqlite_engine)
315 assert result is None
316
317
318@pytest.mark.skipif(not HAS_SQLALCHEMY, reason="SQLAlchemy not installed")

Callers

nothing calls this directly

Calls 1

sqlFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…