'Write-only serializers.should not be serialized.'

def test_serialize_write_only(self):

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