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

Method test_string

test/test_renderer/test_dbml/test_column.py:142–148  ·  view source on GitHub ↗
(string_column_with_table: Column)

Source from the content-addressed store, hash-verified

140
141 @staticmethod
142 def test_string(string_column_with_table: Column) -> None:
143 expected = (
144 "// This is a defaulted string column\n"
145 '"name" varchar(255) [default: \'value\\\'s\', unique, not null, note: \'This is '
146 "a note for the column']"
147 )
148 assert render_column(string_column_with_table) == expected
149
150 @staticmethod
151 def test_boolean(boolean_column_with_table: Column) -> None:

Callers

nothing calls this directly

Calls 1

render_columnFunction · 0.90

Tested by

no test coverage detected