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

Method test_valid_integer

tests/test_extensions.py:156–160  ·  view source on GitHub ↗

Test with valid integer priority.

(self)

Source from the content-addressed store, hash-verified

154 """Test normalize_priority helper function."""
155
156 def test_valid_integer(self):
157 """Test with valid integer priority."""
158 assert normalize_priority(5) == 5
159 assert normalize_priority(1) == 1
160 assert normalize_priority(100) == 100
161
162 def test_valid_string_number(self):
163 """Test with string that can be converted to int."""

Callers

nothing calls this directly

Calls 1

normalize_priorityFunction · 0.90

Tested by

no test coverage detected