If `default` is set, then omitted values get the default input.
(self)
| 183 | assert output == '' |
| 184 | |
| 185 | def test_default(self): |
| 186 | """ |
| 187 | If `default` is set, then omitted values get the default input. |
| 188 | """ |
| 189 | field = serializers.IntegerField(default=123) |
| 190 | output = field.run_validation() |
| 191 | assert output == 123 |
| 192 | |
| 193 | |
| 194 | class TestSource: |
nothing calls this directly
no test coverage detected