Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/plugins/windows/userdataplugins/heat.py   cloudbase-init(Download)
 
        if part.get_filename() == self._heat_user_data_filename:
            return userdatautils.execute_user_data_script(part.get_payload())
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/plugins/windows/userdata.py   cloudbase-init(Download)
    def _process_non_multi_part(self, user_data):
        ret_val = userdatautils.execute_user_data_script(user_data)
        return self._get_plugin_return_value(ret_val)
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_userdatautils.py   cloudbase-init(Download)
        with mock.patch('cloudbaseinit.plugins.windows.userdatautils.open',
                        mock.mock_open(), create=True):
            response = userdatautils.execute_user_data_script(fake_user_data)
        mock_gettempdir.assert_called_once_with()
        self.assertEqual(mock_re_search.call_count, number_of_calls)