Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr With Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call NameLoad Str keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str
N/A N/A 
Copyright 2015 Rackspace

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A unittest cloudcafe.common.tools.datagen rand_name cloudcafe.glance.config ImagesConfig cloudcafe.glance.common.constants Messages cloudroast.glance.fixtures ImagesFixture N/A images_config N/A ImagesConfig RegisteredImageOperationsSmoke N/A ImagesFixture N/A setUpClass N/A N/A cls N/A N/A N/A N/A N/A N/A super RegisteredImageOperationsSmoke cls setUpClass N/A N/A open N/A N/A N/A cls images config test_file r DATA N/A N/A N/A cls file_data N/A N/A N/A N/A DATA read rstrip N/A registered_images N/A N/A N/A N/A cls images behaviors register_new_images name N/A rand_name registered_image_operations_smoke count 2 N/A N/A cls registered_image N/A N/A registered_images pop N/A N/A cls alt_registered_image N/A N/A registered_images pop N/A N/A N/A N/A N/A cls images client store_image_file N/A N/A cls alt_registered_image id_ N/A cls file_data N/A classmethod test_store_image_file N/A N/A self N/A N/A N/A 
        @summary: Store an image file data

        1) Store an image file data passing the image id and file data
        2) Verify that the response code is 204
         N/A resp N/A N/A N/A N/A self images client store_image_file N/A N/A self registered_image id_ N/A self file_data N/A N/A N/A self assertEqual N/A resp status_code 204 N/A N/A N/A Messages STATUS_CODE_MSG format 204 N/A resp status_code N/A N/A N/A unittest skipUnless N/A images_config allow_put_image_file Functionality disabled with provided endpoint test_get_image_file N/A N/A self N/A N/A N/A 
        @summary: Get an image file data

        1) Get the image file data passing the image id
        2) Verify that the response code is 200
         N/A resp N/A N/A N/A N/A self images client get_image_file N/A N/A self alt_registered_image id_ N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A Messages STATUS_CODE_MSG format 200 N/A resp status_code N/A N/A N/A unittest skipUnless N/A N/A images_config allow_put_image_file N/A images_config allow_get_image_file Functionality disabled with provided endpoint N/A N/A N/A unittest skipUnless N/A images_config allow_post_images Functionality disabled with provided endpoint