MCPcopy
hub / github.com/marimo-team/marimo / test_without_duplicates

Method test_without_duplicates

tests/_ast/test_sql_visitor.py:514–523  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

512 }
513
514 def test_without_duplicates(self) -> None:
515 sql = """
516 SELECT * FROM table1;
517 SELECT * FROM table2;
518 SELECT * FROM table1;
519 """
520 assert find_sql_refs(sql) == {
521 SQLRef(table="table1"),
522 SQLRef(table="table2"),
523 }
524
525 def test_with_function(self) -> None:
526 sql = """

Callers

nothing calls this directly

Calls 2

find_sql_refsFunction · 0.90
SQLRefClass · 0.90

Tested by

no test coverage detected