def test_initial(self):
        assert self.serializer.data == {
            'initial_field': 123,
            'blank_field': None
        }
Initial values should be included when serializing a new representation.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_fields.py/TestInitial.test_initial