'Read-only serializers.should be serialized.'

def test_serialize_read_only(self):

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