def process(self, data):

        if not isinstance(data, (list, dict)):
            raise exception.CloudbaseInitException(
                "Can't process the type of data %r" % type(data))

        if isinstance(data, dict):
            data = [data]

        for item in data:
            self._process_item(item)
Test that if the decorated function does not throw an exception,
dataset/ETHPy150Open openstack/cloudbase-init/cloudbaseinit/plugins/common/userdataplugins/cloudconfigplugins/write_files.py/WriteFilesPlugin.process--crossover with--dataset/ETHPy150Open Jwpe/Flask-Nicely/tests/test_flask_nicely.py/TestFlaskNicely.test_success