MCPcopy Create free account
hub / github.com/ScrapeGraphAI/toonify / test_generate_with_tab_delimiter

Function test_generate_with_tab_delimiter

tests/test_structure_generator.py:95–107  ·  view source on GitHub ↗

Test generating structure with tab delimiter.

()

Source from the content-addressed store, hash-verified

93
94
95def test_generate_with_tab_delimiter():
96 """Test generating structure with tab delimiter."""
97 schema = [{
98 "id": "user id",
99 "name": "user name"
100 }]
101
102 result = generate_structure(schema, {"delimiter": "\t"})
103
104 # Should show tab indicator in header
105 assert "[N\t]{id,name}:" in result
106 # Should use tab as delimiter in sample row
107 assert "<user id>\t<user name>" in result
108
109
110def test_generate_with_pipe_delimiter():

Callers

nothing calls this directly

Calls 1

generate_structureFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…