Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Dict keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Dict keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Dict keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Dict keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call NameLoad keyword NameLoad Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Call NameLoad AttributeLoad NameLoad attr Str Str Str Str Str Num Num NameLoad NameLoad Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str NameLoad Assign NameStore Dict Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str Str Str NameLoad Str Str Assign NameStore Dict Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad keyword Str decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr TupleLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad keyword ListLoad Dict Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return ListComp NameLoad comprehension NameStore NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad Return ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A tempfile django.conf settings django.core.files.uploadedfile InMemoryUploadedFile django.core.urlresolvers reverse django.forms.widgets HiddenInput django http django.test.utils override_settings mox3.mox IsA horizon tables horizon_tables openstack_dashboard api openstack_dashboard.test helpers test openstack_dashboard.dashboards.project.images.images forms openstack_dashboard.dashboards.project.images.images tables N/A IMAGES_INDEX_URL N/A reverse horizon:project:images:index CreateImageFormTests N/A N/A test TestCase N/A test_no_location_or_file N/A N/A self N/A N/A N/A filters N/A disk_format aki N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A filters filters AndReturn N/A N/A N/A N/A self images list False False N/A filters N/A disk_format ari N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A filters filters AndReturn N/A N/A N/A N/A self images list False False N/A N/A N/A N/A self mox ReplayAll N/A post N/A name source_type description disk_format architecture minimum_disk minimum_ram is_public Ubuntu 11.10 file Login with admin/admin qcow2 x86-64 15 512 1 N/A files N/A N/A form N/A N/A forms CreateImageForm post files N/A N/A N/A self assertFalse N/A N/A form is_valid N/A N/A N/A test create_stubs N/A N/A api glance N/A image_list_detailed test_image_upload_disabled N/A N/A self N/A N/A N/A filters N/A disk_format aki N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A filters filters AndReturn N/A N/A N/A N/A self images list False False N/A filters N/A disk_format ari N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A filters filters AndReturn N/A N/A N/A N/A self images list False False N/A N/A N/A N/A self mox ReplayAll N/A form N/A N/A forms CreateImageForm N/A N/A N/A N/A self assertEqual N/A isinstance N/A N/A N/A form fields N/A image_file widget HiddenInput True N/A source_type_dict N/A dict N/A N/A N/A form fields N/A source_type choices N/A N/A N/A self assertNotIn file source_type_dict N/A N/A override_settings HORIZON_IMAGES_ALLOW_UPLOAD False N/A N/A test create_stubs N/A N/A api glance N/A image_list_detailed test_create_image_metadata_docker N/A N/A self N/A N/A N/A form_data N/A name description source_type image_url disk_format architecture minimum_disk minimum_ram is_public protected is_copying Docker image Docker image test url / docker x86-64 15 512 False False False N/A meta N/A N/A forms create_image_metadata form_data N/A N/A N/A self assertEqual N/A meta N/A disk_format raw N/A N/A N/A self assertEqual N/A meta N/A container_format docker N/A N/A N/A self assertIn properties meta N/A N/A N/A self assertNotIn description meta N/A N/A N/A self assertNotIn architecture meta N/A N/A N/A self assertEqual N/A N/A meta N/A properties N/A description N/A form_data N/A description N/A N/A N/A self assertEqual N/A N/A meta N/A properties N/A architecture N/A form_data N/A architecture N/A N/A UpdateImageFormTests N/A N/A test TestCase N/A test_is_format_field_editable N/A N/A self N/A N/A N/A form N/A N/A forms UpdateImageForm N/A N/A disk_format N/A N/A form fields N/A disk_format N/A N/A N/A self assertFalse N/A N/A N/A N/A disk_format widget attrs get readonly False N/A test_image_update N/A N/A self N/A N/A N/A image N/A N/A N/A self images first N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn image N/A N/A N/A N/A self mox ReplayAll N/A url N/A reverse horizon:project:images:images:update args N/A N/A image id N/A res N/A N/A N/A self client get url N/A N/A N/A self assertNoFormErrors res N/A N/A N/A self assertEqual N/A N/A N/A res context N/A image disk_format N/A image disk_format N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get test_image_update_post N/A N/A self N/A N/A N/A image N/A N/A N/A self images first N/A data N/A name image_id description source_type image_url disk_format architecture minimum_disk minimum_ram is_public protected method Ubuntu 11.10 N/A str N/A image id Login with admin/admin url http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img qcow2 x86-64 15 512 False False UpdateImageForm N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn image N/A N/A N/A N/A N/A N/A api glance image_update N/A IsA N/A http HttpRequest N/A image id is_public N/A data N/A is_public protected N/A data N/A protected disk_format N/A data N/A disk_format container_format bare name N/A data N/A name min_ram N/A data N/A minimum_ram min_disk N/A data N/A minimum_disk properties N/A description architecture N/A data N/A description N/A data N/A architecture purge_props False AndReturn image N/A N/A N/A N/A self mox ReplayAll N/A url N/A reverse horizon:project:images:images:update args N/A N/A image id N/A res N/A N/A N/A self client post url data N/A N/A N/A self assertNoFormErrors res N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A test create_stubs N/A N/A api glance N/A image_update image_get N/A ImageViewTests N/A N/A test TestCase N/A test_image_create_get N/A N/A self N/A N/A N/A filters N/A disk_format aki N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A http HttpRequest filters filters AndReturn N/A N/A N/A N/A self images list False False N/A filters N/A disk_format ari N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A http HttpRequest filters filters AndReturn N/A N/A N/A N/A self images list False False N/A N/A N/A N/A self mox ReplayAll N/A url N/A reverse horizon:project:images:images:create N/A res N/A N/A N/A self client get url N/A N/A N/A self assertTemplateUsed res project/images/images/create.html N/A N/A N/A test create_stubs N/A N/A api glance N/A image_list_detailed test_image_create_post_copy_from N/A N/A self N/A N/A N/A data N/A source_type image_url is_copying url http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img True N/A api_data N/A copy_from N/A data N/A image_url N/A N/A N/A self _test_image_create data api_data N/A N/A N/A test create_stubs N/A N/A api glance N/A image_create test_image_create_post_location N/A N/A self N/A N/A N/A data N/A source_type image_url is_copying url http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img False N/A api_data N/A location N/A data N/A image_url N/A N/A N/A self _test_image_create data api_data N/A N/A N/A test create_stubs N/A N/A api glance N/A image_create test_image_create_post_upload N/A N/A self N/A N/A N/A temp_file N/A N/A tempfile NamedTemporaryFile N/A N/A N/A temp_file write 123 N/A N/A N/A temp_file flush N/A N/A N/A temp_file seek 0 N/A data N/A source_type image_file file temp_file N/A api_data N/A data N/A IsA InMemoryUploadedFile N/A N/A N/A self _test_image_create data api_data N/A N/A N/A test create_stubs N/A N/A api glance N/A image_create test_image_create_post_with_kernel_ramdisk N/A N/A self N/A N/A N/A temp_file N/A N/A tempfile NamedTemporaryFile N/A N/A N/A temp_file write 123 N/A N/A N/A temp_file flush N/A N/A N/A temp_file seek 0 N/A data N/A source_type image_file kernel_id ramdisk_id file temp_file 007e7d55-fe1e-4c5c-bf08-44b4a496482e 007e7d55-fe1e-4c5c-bf08-44b4a496482a N/A api_data N/A data N/A IsA InMemoryUploadedFile N/A N/A N/A self _test_image_create data api_data N/A N/A N/A test create_stubs N/A N/A api glance N/A image_create _test_image_create N/A N/A self extra_form_data extra_api_data N/A N/A N/A data N/A name description disk_format architecture minimum_disk minimum_ram is_public protected method Ubuntu 11.10 Login with admin/admin qcow2 x86-64 15 512 True False CreateImageForm N/A N/A N/A data update extra_form_data N/A api_data N/A container_format disk_format is_public protected min_disk min_ram properties name bare N/A data N/A disk_format True False N/A data N/A minimum_disk N/A data N/A minimum_ram N/A description architecture N/A data N/A description N/A data N/A architecture N/A data N/A name N/A N/A N/A api_data update extra_api_data N/A filters N/A disk_format aki N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A http HttpRequest filters filters AndReturn N/A N/A N/A N/A self images list False False N/A filters N/A disk_format ari N/A N/A N/A N/A N/A N/A api glance image_list_detailed N/A IsA N/A http HttpRequest filters filters AndReturn N/A N/A N/A N/A self images list False False N/A N/A N/A N/A N/A N/A api glance image_create N/A IsA N/A http HttpRequest api_data AndReturn N/A N/A N/A self images first N/A N/A N/A N/A self mox ReplayAll N/A url N/A reverse horizon:project:images:images:create N/A res N/A N/A N/A self client post url data N/A N/A N/A self assertNoFormErrors res N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A test create_stubs N/A N/A api glance N/A image_list_detailed test_image_detail_get N/A N/A self N/A N/A N/A image N/A N/A N/A self images first N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn N/A N/A N/A self images first N/A N/A N/A N/A self mox ReplayAll N/A res N/A N/A N/A self client get N/A reverse horizon:project:images:images:detail args N/A N/A image id N/A N/A N/A self assertTemplateUsed res horizon/common/_detail.html N/A N/A N/A self assertEqual N/A N/A N/A res context N/A image name N/A image name N/A N/A N/A self assertEqual N/A N/A N/A res context N/A image protected N/A image protected N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get test_image_detail_custom_props_get N/A N/A self N/A N/A N/A image N/A N/A N/A N/A self images list N/A 8 N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn image N/A N/A N/A N/A self mox ReplayAll N/A res N/A N/A N/A self client get N/A reverse horizon:project:images:images:detail args N/A N/A image id N/A image_props N/A N/A res context N/A image_props N/A image_keys N/A N/A prop N/A 0 N/A prop image_props N/A N/A N/A self assertNotIn description image_keys N/A N/A N/A self assertEqual N/A image_props N/A 0 N/A bar bar bar val N/A N/A N/A self assertEqual N/A image_props N/A 1 N/A foo foo foo val N/A N/A N/A self assertContains res <dt title="bar">bar</dt> N/A N/A N/A self assertContains res <dd>bar val</dd> N/A N/A N/A self assertContains res <dt title="foo">foo</dt> N/A N/A N/A self assertContains res <dd>foo val</dd> N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get test_protected_image_detail_get N/A N/A self N/A N/A N/A image N/A N/A N/A N/A self images list N/A 2 N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn image N/A N/A N/A N/A self mox ReplayAll N/A res N/A N/A N/A self client get N/A reverse horizon:project:images:images:detail args N/A N/A image id N/A N/A N/A self assertTemplateUsed res horizon/common/_detail.html N/A N/A N/A self assertEqual N/A N/A N/A res context N/A image protected N/A image protected N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get test_image_detail_get_with_exception N/A N/A self N/A N/A N/A image N/A N/A N/A self images first N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndRaise N/A N/A self exceptions glance N/A N/A N/A N/A self mox ReplayAll N/A url N/A reverse horizon:project:images:images:detail args N/A N/A image id N/A res N/A N/A N/A self client get url N/A N/A N/A self assertRedirectsNoFollow res IMAGES_INDEX_URL N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get test_image_update_get N/A N/A self N/A N/A N/A image N/A N/A N/A self images first N/A N/A image disk_format ami N/A N/A image is_public True N/A N/A N/A N/A N/A N/A api glance image_get N/A IsA N/A http HttpRequest N/A str N/A image id AndReturn image N/A N/A N/A N/A self mox ReplayAll N/A res N/A N/A N/A self client get N/A reverse horizon:project:images:images:update args N/A N/A image id N/A N/A N/A self assertTemplateUsed res project/images/images/_update.html N/A N/A N/A self assertEqual N/A N/A N/A res context N/A image name N/A image name N/A N/A N/A self assertContains res <input type='checkbox' id='id_public' name='public' checked='checked'> html True msg_prefix The is_public checkbox is not checked N/A N/A N/A test create_stubs N/A N/A api glance N/A image_get N/A OwnerFilterTests N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super OwnerFilterTests self setUp N/A N/A self table N/A N/A N/A self mox CreateMock N/A horizon_tables DataTable N/A N/A N/A self table request N/A self request N/A test_filter N/A N/A self N/A N/A N/A N/A N/A N/A self mox ReplayAll N/A all_images N/A N/A N/A self images list N/A table N/A self table N/A N/A self filter_tenants N/A settings IMAGES_LIST_FILTER_TENANTS N/A filter_ N/A N/A tables OwnerFilter N/A images N/A N/A filter_ filter table all_images project N/A N/A N/A self assertEqual images N/A N/A self _expected project N/A images N/A N/A filter_ filter table all_images public N/A N/A N/A self assertEqual images N/A N/A self _expected public N/A images N/A N/A filter_ filter table all_images shared N/A N/A N/A self assertEqual images N/A N/A self _expected shared N/A images N/A N/A filter_ filter table all_images officialtenant N/A N/A N/A self assertEqual images N/A N/A self _expected officialtenant N/A N/A override_settings IMAGES_LIST_FILTER_TENANTS N/A N/A name tenant icon Official officialtenant fa-check _expected N/A N/A self filter_string N/A N/A N/A my_tenant_id N/A N/A N/A self request user tenant_id N/A images N/A N/A N/A self images list N/A special N/A map N/A N/A N/A t N/A N/A t N/A tenant N/A self filter_tenants N/A N/A filter_string public N/A N/A N/A im N/A im images N/A im is_public N/A N/A filter_string shared N/A N/A N/A im N/A im images N/A N/A N/A im is_public N/A N/A im owner my_tenant_id N/A N/A im owner special N/A N/A filter_string project N/A N/A filter_string my_tenant_id N/A N/A im N/A im images N/A N/A im owner filter_string N/A N/A