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

Method test_oneline_with_quote

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

Source from the content-addressed store, hash-verified

46 self.assertEqual(f"note: 'one line note'", note_option_to_dbml(note))
47
48 def test_oneline_with_quote(self) -> None:
49 note = Note("one line'd note")
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")

Callers

nothing calls this directly

Calls 2

NoteClass · 0.90
note_option_to_dbmlFunction · 0.90

Tested by

no test coverage detected