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

Method test_multiline

test/test_tools.py:52–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 self.assertEqual(f"note: 'one line\\'d note'", note_option_to_dbml(note))
51
52 def test_multiline(self) -> None:
53 note = Note("line1\nline2\nline3")
54 expected = "note: '''line1\nline2\nline3'''"
55 self.assertEqual(expected, note_option_to_dbml(note))
56
57 def test_multiline_with_quotes(self) -> None:
58 note = Note("line1\n'''line2\nline3")

Callers

nothing calls this directly

Calls 2

NoteClass · 0.90
note_option_to_dbmlFunction · 0.90

Tested by

no test coverage detected