'Write-only serializers.should be included in validation.'

def test_validate_write_only(self):

    data = {'write_only': 123, 'readable': 456}
    serializer = self.Serializer(data=data)
    assert serializer.is_valid()
    assert (serializer.validated_data == {'write_only': 123, 'readable': 456})
