def test_list_registry_opts(self): opt_list = opts.list_registry_opts() expected_opt_groups = [ None, 'paste_deploy' ] expected_opt_names = [ 'debug', 'verbose', 'log-config-append', 'log-format', 'log-date-format', 'log-file', 'log-dir', 'use-syslog', 'use-syslog-rfc-format', 'syslog-log-facility', 'owner_is_tenant', 'admin_role', 'allow_anonymous_access', 'policy_file', 'policy_default_rule', 'allow_additional_image_properties', 'image_member_quota', 'image_property_quota', 'image_tag_quota', 'image_location_quota', 'data_api', 'limit_param_default', 'api_limit_max', 'show_image_direct_url', 'show_multiple_locations', 'image_size_cap', 'user_storage_quota', 'enable_v1_api', 'enable_v2_api', 'enable_v1_registry', 'enable_v2_registry', 'pydev_worker_debug_host', 'pydev_worker_debug_port', 'metadata_encryption_key', 'bind_host', 'bind_port', 'backlog', 'tcp_keepidle', 'ca_file', 'cert_file', 'key_file', 'workers', 'eventlet_hub', 'max_header_line', 'flavor', 'config_file', 'http_keepalive', ] self._check_opt_groups(opt_list, expected_opt_groups) self._check_opt_names(opt_list, expected_opt_names) self._test_entry_point('glance.registry', expected_opt_groups, expected_opt_names)
def test_list_registry_opts(self): opt_list = opts.list_registry_opts() expected_opt_groups = [None, 'paste_deploy'] expected_opt_names = [ 'debug', 'verbose', 'log-config-append', 'log-format', 'log-date-format', 'log-file', 'log-dir', 'use-syslog', 'use-syslog-rfc-format', 'syslog-log-facility', 'owner_is_tenant', 'admin_role', 'allow_anonymous_access', 'policy_file', 'policy_default_rule', 'allow_additional_image_properties', 'image_member_quota', 'image_property_quota', 'image_tag_quota', 'image_location_quota', 'data_api', 'limit_param_default', 'api_limit_max', 'show_image_direct_url', 'show_multiple_locations', 'image_size_cap', 'user_storage_quota', 'enable_v1_api', 'enable_v2_api', 'enable_v1_registry', 'enable_v2_registry', 'pydev_worker_debug_host', 'pydev_worker_debug_port', 'metadata_encryption_key', 'bind_host', 'bind_port', 'backlog', 'tcp_keepidle', 'ca_file', 'cert_file', 'key_file', 'workers', 'eventlet_hub', 'max_header_line', 'flavor', 'config_file' ] self._check_opt_groups(opt_list, expected_opt_groups) self._check_opt_names(opt_list, expected_opt_names) self._test_entry_point('glance.registry', expected_opt_groups, expected_opt_names)
def test_list_registry_opts(self): opt_list = opts.list_registry_opts() expected_opt_groups = [ None, 'paste_deploy' ] expected_opt_names = [ 'owner_is_tenant', 'admin_role', 'allow_anonymous_access', 'allow_additional_image_properties', 'image_member_quota', 'image_property_quota', 'image_tag_quota', 'image_location_quota', 'data_api', 'limit_param_default', 'api_limit_max', 'show_image_direct_url', 'show_multiple_locations', 'image_size_cap', 'user_storage_quota', 'enable_v1_api', 'enable_v2_api', 'enable_v3_api', 'enable_v1_registry', 'enable_v2_registry', 'pydev_worker_debug_host', 'pydev_worker_debug_port', 'metadata_encryption_key', 'bind_host', 'bind_port', 'backlog', 'tcp_keepidle', 'ca_file', 'cert_file', 'key_file', 'workers', 'max_header_line', 'flavor', 'config_file', 'digest_algorithm', 'http_keepalive', 'client_socket_timeout' ] self._check_opt_groups(opt_list, expected_opt_groups) self._check_opt_names(opt_list, expected_opt_names) self._test_entry_point('glance.registry', expected_opt_groups, expected_opt_names)
def test_list_registry_opts(self): opt_list = opts.list_registry_opts() expected_opt_groups = [ None, 'paste_deploy' ] expected_opt_names = [ 'owner_is_tenant', 'admin_role', 'allow_anonymous_access', 'allow_additional_image_properties', 'image_member_quota', 'image_property_quota', 'image_tag_quota', 'image_location_quota', 'data_api', 'limit_param_default', 'api_limit_max', 'show_image_direct_url', 'show_multiple_locations', 'image_size_cap', 'user_storage_quota', 'enable_v1_api', 'enable_v2_api', 'enable_v1_registry', 'enable_v2_registry', 'pydev_worker_debug_host', 'pydev_worker_debug_port', 'metadata_encryption_key', 'bind_host', 'bind_port', 'backlog', 'tcp_keepidle', 'ca_file', 'cert_file', 'key_file', 'workers', 'max_header_line', 'flavor', 'config_file', 'digest_algorithm', 'http_keepalive', 'client_socket_timeout' ] self._check_opt_groups(opt_list, expected_opt_groups) self._check_opt_names(opt_list, expected_opt_names) self._test_entry_point('glance.registry', expected_opt_groups, expected_opt_names)