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

Method test_simple

test/test_renderer/test_dbml/test_table.py:61–64  ·  view source on GitHub ↗
(db: Database, table1: Table)

Source from the content-addressed store, hash-verified

59class TestRenderTable:
60 @staticmethod
61 def test_simple(db: Database, table1: Table) -> None:
62 db.add(table1)
63 expected = 'Table "products" {\n "id" integer\n "name" varchar\n}'
64 assert render_table(table1) == expected
65
66 @staticmethod
67 def test_note_and_comment(db: Database, table1: Table) -> None:

Callers

nothing calls this directly

Calls 2

render_tableFunction · 0.90
addMethod · 0.80

Tested by

no test coverage detected