MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / not_inline_refs

Function not_inline_refs

test/test_renderer/test_sql/test_default/test_table.py:51–60  ·  view source on GitHub ↗
(
    db1: Database, table1: Table, table2: Table
)

Source from the content-addressed store, hash-verified

49
50@pytest.fixture
51def not_inline_refs(
52 db1: Database, table1: Table, table2: Table
53) -> Tuple[Reference, Reference, Reference]:
54 r1 = Reference(">", table1[1], table2[1], inline=False)
55 r2 = Reference("-", table1[0], table2[0], inline=False)
56 r3 = Reference("<", table1[0], table2[1], inline=False)
57 db1.add(r1)
58 db1.add(r2)
59 db1.add(r3)
60 return r1, r2, r3
61
62
63@pytest.fixture

Callers

nothing calls this directly

Calls 2

ReferenceClass · 0.90
addMethod · 0.80

Tested by

no test coverage detected