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

Function test_prepare_text_for_dbml

test/test_renderer/test_dbml/test_note.py:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def test_prepare_text_for_dbml() -> None:
7 note = Note("""Three quotes: ''', one quote: '.""")
8 assert prepare_text_for_dbml(note.text) == "Three quotes: \\''', one quote: \\'."
9
10
11class TestRenderNote:

Callers

nothing calls this directly

Calls 2

NoteClass · 0.90
prepare_text_for_dbmlFunction · 0.90

Tested by

no test coverage detected