MCPcopy
hub / github.com/pallets/click / test_add_different_name

Function test_add_different_name

tests/test_shell_completion.py:328–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326
327
328def test_add_different_name():
329 cli = Group("cli", commands={"renamed": Command("original")})
330 words = _get_words(cli, [], "")
331 assert "renamed" in words
332 assert "original" not in words
333
334
335def test_completion_item_data():

Callers

nothing calls this directly

Calls 3

GroupClass · 0.90
CommandClass · 0.90
_get_wordsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…