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

Function test_note_property

test/test_classes/test_index.py:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_note_property():
8 note1 = Note('column note')
9 t = Table('products')
10 c = Column('id', 'integer')
11 i = Index(subjects=[c])
12 i.note = note1
13 assert i.note.parent is i
14
15
16def test_repr(index1: Index) -> None:

Callers

nothing calls this directly

Calls 4

NoteClass · 0.90
TableClass · 0.90
ColumnClass · 0.90
IndexClass · 0.90

Tested by

no test coverage detected