MCPcopy Index your code
hub / github.com/vinta/awesome-python / test_hyphenated_input

Method test_hyphenated_input

website/tests/test_build.py:72–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 assert slugify("RESTful API") == "restful-api"
71
72 def test_hyphenated_input(self):
73 assert slugify("Command-line Tools") == "command-line-tools"
74
75 def test_extra_spaces(self):
76 assert slugify(" Date and Time ") == "date-and-time"

Callers

nothing calls this directly

Calls 1

slugifyFunction · 0.90

Tested by

no test coverage detected