MCPcopy Create free account
hub / github.com/PrefectHQ/fastmcp / test_empty_string

Method test_empty_string

tests/cli/test_generate_cli.py:109–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 assert _to_python_identifier("my tool") == "my_tool"
108
109 def test_empty_string(self):
110 assert _to_python_identifier("") == "_unnamed"
111
112
113# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

_to_python_identifierFunction · 0.90

Tested by

no test coverage detected