MCPcopy Index your code
hub / github.com/Vanderhoof/PyDBML / test_note_definition

Method test_note_definition

test/test_docs.py:205–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 self.assertEqual(rf[0].on_update, 'no action')
204
205 def test_note_definition(self) -> None:
206 results = PyDBML.parse_file(TEST_DOCS_PATH / 'note_definition.dbml')
207 self.assertEqual(len(results.tables), 1)
208 users = results['public.users']
209 self.assertEqual(users.note.text, 'This is a note of this table')
210
211 def test_project_notes(self) -> None:
212 results = PyDBML.parse_file(TEST_DOCS_PATH / 'project_notes.dbml')

Callers

nothing calls this directly

Calls 1

parse_fileMethod · 0.80

Tested by

no test coverage detected