Test custom default value.
(self)
| 194 | assert normalize_priority("") == 10 |
| 195 | |
| 196 | def test_custom_default(self): |
| 197 | """Test custom default value.""" |
| 198 | assert normalize_priority(None, default=20) == 20 |
| 199 | assert normalize_priority("invalid", default=1) == 1 |
| 200 | |
| 201 | def test_boolean_returns_default(self): |
| 202 | """Booleans fall back to the default rather than acting as int 0/1.""" |
nothing calls this directly
no test coverage detected