Module Expr Str Import alias Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Dict Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Dict Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str 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 json N/A unittest cloudcafe.compute.common.models.metadata Metadata MetadataItem MetadataModelTest N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls metadata N/A Metadata N/A N/A N/A cls metadata N/A key1 value1 N/A N/A cls expected_xml <?xml version='1.0' encoding='UTF-8'?><metadata xmlns="http://docs.openstack.org/compute/api/v1.1"><meta key="key1">value1</meta></metadata> N/A N/A cls expected_json N/A N/A json dumps N/A metadata N/A key1 value1 N/A classmethod test_metadata_xml_serialization N/A N/A self N/A N/A N/A serialized_metadata N/A N/A N/A self metadata serialize xml N/A N/A N/A self assertEqual serialized_metadata N/A self expected_xml N/A test_metadata_xml_deserialization N/A N/A self N/A N/A N/A metadata N/A N/A Metadata deserialize N/A self expected_xml xml N/A N/A N/A self assertIsNotNone metadata N/A N/A N/A self assertEqual N/A N/A metadata get key1 value1 N/A test_metadata_json_serialization N/A N/A self N/A N/A N/A serialized_metadata N/A N/A N/A self metadata serialize json N/A N/A N/A self assertEqual serialized_metadata N/A self expected_json N/A test_metadata_json_deserialization N/A N/A self N/A N/A N/A metadata N/A N/A Metadata deserialize N/A self expected_json json N/A N/A N/A self assertIsNotNone metadata N/A N/A N/A self assertEqual N/A N/A metadata get key1 value1 N/A N/A MetadataItemModelTest N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls meta_item N/A MetadataItem N/A N/A N/A cls meta_item N/A key1 value1 N/A N/A cls expected_xml <?xml version='1.0' encoding='UTF-8'?><meta key="key1">value1</meta> N/A N/A cls expected_json N/A N/A json dumps N/A meta N/A key1 value1 N/A classmethod test_metadata_item_json_serialization N/A N/A self N/A N/A N/A serialized_metadata N/A N/A N/A self meta_item serialize json N/A N/A N/A self assertEqual serialized_metadata N/A self expected_json N/A test_metadata_xml_serialization N/A N/A self N/A N/A N/A serialized_metadata N/A N/A N/A self meta_item serialize xml N/A N/A N/A self assertEqual serialized_metadata N/A self expected_xml N/A test_metadata_xml_deserialization N/A N/A self N/A N/A N/A meta N/A N/A MetadataItem deserialize N/A self expected_xml xml N/A N/A N/A self assertIsNotNone meta N/A N/A N/A self assertEqual N/A N/A meta get key1 value1 N/A test_metadata_json_deserialization N/A N/A self N/A N/A N/A meta N/A N/A MetadataItem deserialize N/A self expected_json json N/A N/A N/A self assertIsNotNone meta N/A N/A N/A self assertEqual N/A N/A meta get key1 value1 N/A N/A