MCPcopy Index your code
hub / github.com/github/spec-kit / test_valid_string_number

Method test_valid_string_number

tests/test_extensions.py:162–165  ·  view source on GitHub ↗

Test with string that can be converted to int.

(self)

Source from the content-addressed store, hash-verified

160 assert normalize_priority(100) == 100
161
162 def test_valid_string_number(self):
163 """Test with string that can be converted to int."""
164 assert normalize_priority("5") == 5
165 assert normalize_priority("10") == 10
166
167 def test_zero_returns_default(self):
168 """Test that zero priority returns default."""

Callers

nothing calls this directly

Calls 1

normalize_priorityFunction · 0.90

Tested by

no test coverage detected