Test that float is truncated to int.
(self)
| 185 | assert normalize_priority("abc", default=5) == 5 |
| 186 | |
| 187 | def test_float_truncates(self): |
| 188 | """Test that float is truncated to int.""" |
| 189 | assert normalize_priority(5.9) == 5 |
| 190 | assert normalize_priority(3.1) == 3 |
| 191 | |
| 192 | def test_empty_string_returns_default(self): |
| 193 | """Test that empty string returns default.""" |
nothing calls this directly
no test coverage detected