Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
def
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
16
def
test_repr(index1: Index) -> None:
Callers
nothing calls this directly
Calls
4
Note
Class · 0.90
Table
Class · 0.90
Column
Class · 0.90
Index
Class · 0.90
Tested by
no test coverage detected