()
| 79 | |
| 80 | def test_db_default_callable_function_raises(): |
| 81 | def my_default(): |
| 82 | return 42 |
| 83 | |
| 84 | with pytest.raises(ConfigurationError, match="db_default must be a static value"): |
| 85 | fields.IntField(db_default=my_default) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…