Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Copyright 2013 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 mock MagicMock mock Mock requests Response cloudcafe.objectstorage.objectstorage_api.behaviors ObjectStorageAPI_Behaviors cloudcafe.objectstorage.objectstorage_api.client ObjectStorageAPIClient cloudcafe.objectstorage.objectstorage_api.config ObjectStorageAPIConfig metatests.objectstorage.objectstorage_api test_client ApiBehaviorsTest N/A N/A unittest TestCase N/A test_create_container N/A N/A self N/A N/A N/A response N/A Mock spec Response N/A N/A response ok True N/A client N/A Mock spec ObjectStorageAPIClient N/A N/A client create_container N/A MagicMock return_value response N/A config N/A Mock spec ObjectStorageAPIConfig N/A behavior N/A ObjectStorageAPI_Behaviors client config N/A N/A N/A behavior create_container N/A test_client VALID_CONTAINER_NAME N/A N/A N/A N/A client create_container assert_called_with N/A test_client VALID_CONTAINER_NAME headers N/A N/A test_throws_exception_if_create_container_fails N/A N/A self N/A N/A N/A response N/A Mock spec Response N/A N/A response ok False N/A client N/A Mock spec ObjectStorageAPIClient N/A N/A client create_container N/A MagicMock return_value response N/A config N/A Mock spec ObjectStorageAPIConfig N/A behavior N/A ObjectStorageAPI_Behaviors client config N/A N/A N/A self assertRaises Exception N/A N/A N/A N/A behavior create_container N/A test_client VALID_CONTAINER_NAME N/A N/A