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

Method test_enum

test/test_renderer/test_dbml/test_column.py:127–130  ·  view source on GitHub ↗
(simple_column_with_table: Column, enum1: Enum)

Source from the content-addressed store, hash-verified

125
126 @staticmethod
127 def test_enum(simple_column_with_table: Column, enum1: Enum) -> None:
128 simple_column_with_table.type = enum1
129 expected = '"id" "product status"'
130 assert render_column(simple_column_with_table) == expected
131
132 @staticmethod
133 def test_complex(complex_column_with_table: Column) -> None:

Callers

nothing calls this directly

Calls 1

render_columnFunction · 0.90

Tested by

no test coverage detected