MCPcopy
hub / github.com/Textualize/textual / test_add_columns_user_defined_keys

Function test_add_columns_user_defined_keys

tests/test_data_table.py:322–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320
321
322async def test_add_columns_user_defined_keys():
323 app = DataTableApp()
324 async with app.run_test():
325 table = app.query_one(DataTable)
326 key = table.add_column("Column", key="donut")
327 assert key == "donut"
328 assert key == key
329
330
331async def test_remove_row():

Callers

nothing calls this directly

Calls 4

DataTableAppClass · 0.85
run_testMethod · 0.80
query_oneMethod · 0.80
add_columnMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…