Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad Str Num Num Expr Call NameLoad Str Num Num Expr Call NameLoad Str Num Num Expr Call NameLoad Str Num Num Expr Call NameLoad Str Num Num Expr Call NameLoad Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareGt NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Dict NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Expr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore TupleLoad Str Str Assign NameStore Dict Str Str Str Str Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad TupleLoad Str Dict AttributeLoad AttributeLoad NameLoad attr attr decorator_list 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 AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list decorator_list
N/A N/A mock N/A novaclient novaclient api_versions novaclient exceptions novaclient.tests.unit utils novaclient utils nutils novaclient.v2 versions APIVersionTestCase N/A N/A utils TestCase N/A test_valid_version_strings N/A N/A self N/A N/A _test_string N/A N/A version exp_major exp_minor N/A N/A N/A v N/A N/A api_versions APIVersion version N/A N/A N/A self assertEqual N/A v ver_major exp_major N/A N/A N/A self assertEqual N/A v ver_minor exp_minor N/A N/A N/A _test_string 1.1 1 1 N/A N/A _test_string 2.10 2 10 N/A N/A _test_string 5.234 5 234 N/A N/A _test_string 12.5 12 5 N/A N/A _test_string 2.0 2 0 N/A N/A _test_string 2.200 2 200 N/A test_null_version N/A N/A self N/A N/A N/A v N/A N/A api_versions APIVersion N/A N/A N/A self assertTrue N/A N/A v is_null N/A test_invalid_version_strings N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 2 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 200 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 2.1.4 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 200.23.66.3 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 5 .3 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 5. 3 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 5.03 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 02.1 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 2.001 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion  2.1 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions APIVersion 2.1  N/A test_version_comparisons N/A N/A self N/A N/A N/A v1 N/A N/A api_versions APIVersion 2.0 N/A v2 N/A N/A api_versions APIVersion 2.5 N/A v3 N/A N/A api_versions APIVersion 5.23 N/A v4 N/A N/A api_versions APIVersion 2.0 N/A v_null N/A N/A api_versions APIVersion N/A N/A N/A self assertTrue N/A v1 v2 N/A N/A N/A self assertTrue N/A v3 v2 N/A N/A N/A self assertTrue N/A v1 v2 N/A N/A N/A self assertTrue N/A v1 v4 N/A N/A N/A self assertTrue N/A v1 v_null N/A N/A N/A self assertTrue N/A v_null v_null N/A N/A N/A self assertRaises TypeError N/A v1 __le__ 2.1 N/A test_version_matches N/A N/A self N/A N/A N/A v1 N/A N/A api_versions APIVersion 2.0 N/A v2 N/A N/A api_versions APIVersion 2.5 N/A v3 N/A N/A api_versions APIVersion 2.45 N/A v4 N/A N/A api_versions APIVersion 3.3 N/A v5 N/A N/A api_versions APIVersion 3.23 N/A v6 N/A N/A api_versions APIVersion 2.0 N/A v7 N/A N/A api_versions APIVersion 3.3 N/A v8 N/A N/A api_versions APIVersion 4.0 N/A v_null N/A N/A api_versions APIVersion N/A N/A N/A self assertTrue N/A N/A v2 matches v1 v3 N/A N/A N/A self assertTrue N/A N/A v2 matches v1 v_null N/A N/A N/A self assertTrue N/A N/A v1 matches v6 v2 N/A N/A N/A self assertTrue N/A N/A v4 matches v2 v7 N/A N/A N/A self assertTrue N/A N/A v4 matches v_null v7 N/A N/A N/A self assertTrue N/A N/A v4 matches v_null v8 N/A N/A N/A self assertFalse N/A N/A v1 matches v2 v3 N/A N/A N/A self assertFalse N/A N/A v5 matches v2 v4 N/A N/A N/A self assertFalse N/A N/A v2 matches v3 v1 N/A N/A N/A self assertRaises ValueError N/A v_null matches v1 v3 N/A test_get_string N/A N/A self N/A N/A N/A v1_string 3.23 N/A v1 N/A N/A api_versions APIVersion v1_string N/A N/A N/A self assertEqual v1_string N/A N/A v1 get_string N/A N/A N/A self assertRaises ValueError N/A N/A N/A api_versions APIVersion get_string N/A N/A UpdateHeadersTestCase N/A N/A utils TestCase N/A test_api_version_is_null N/A N/A self N/A N/A N/A headers N/A N/A N/A N/A api_versions update_headers headers N/A N/A api_versions APIVersion N/A N/A N/A self assertEqual N/A headers N/A test_api_version_is_major N/A N/A self N/A N/A N/A headers N/A N/A N/A N/A api_versions update_headers headers N/A N/A api_versions APIVersion 7.0 N/A N/A N/A self assertEqual N/A headers N/A test_api_version_is_not_null N/A N/A self N/A N/A N/A api_version N/A N/A api_versions APIVersion 2.3 N/A headers N/A N/A N/A N/A api_versions update_headers headers api_version N/A N/A N/A self assertEqual N/A X-OpenStack-Nova-API-Version N/A N/A api_version get_string headers N/A N/A CheckHeadersTestCase N/A N/A utils TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CheckHeadersTestCase self setUp N/A mock_log_patch N/A N/A mock patch novaclient.api_versions.LOG N/A N/A self mock_log N/A N/A mock_log_patch start N/A N/A N/A self addCleanup N/A mock_log_patch stop N/A test_microversion_is_specified N/A N/A self N/A N/A N/A response N/A N/A mock MagicMock headers N/A N/A api_versions HEADER_NAME N/A N/A N/A api_versions check_headers response N/A N/A api_versions APIVersion 2.2 N/A N/A N/A self assertFalse N/A N/A N/A self mock_log warning called N/A response N/A N/A mock MagicMock headers N/A N/A N/A N/A api_versions check_headers response N/A N/A api_versions APIVersion 2.2 N/A N/A N/A self assertTrue N/A N/A N/A self mock_log warning called N/A test_microversion_is_not_specified N/A N/A self N/A N/A N/A response N/A N/A mock MagicMock headers N/A N/A api_versions HEADER_NAME N/A N/A N/A api_versions check_headers response N/A N/A api_versions APIVersion 2.2 N/A N/A N/A self assertFalse N/A N/A N/A self mock_log warning called N/A response N/A N/A mock MagicMock headers N/A N/A N/A N/A api_versions check_headers response N/A N/A api_versions APIVersion 2.0 N/A N/A N/A self assertFalse N/A N/A N/A self mock_log warning called N/A N/A GetAPIVersionTestCase N/A N/A utils TestCase N/A test_get_available_client_versions N/A N/A self N/A N/A N/A output N/A N/A api_versions get_available_major_versions N/A N/A N/A self assertNotEqual N/A output N/A test_wrong_format N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions get_api_version something_wrong N/A test_wrong_major_version N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions get_api_version 1 N/A test_only_major_part_is_presented N/A N/A self mock_apiversion N/A N/A N/A version 7 N/A N/A N/A self assertEqual N/A mock_apiversion return_value N/A N/A api_versions get_api_version version N/A N/A N/A mock_apiversion assert_called_once_with N/A %s.0 N/A str version N/A N/A N/A mock patch novaclient.api_versions.APIVersion test_major_and_minor_parts_is_presented N/A N/A self mock_apiversion N/A N/A N/A version 2.7 N/A N/A N/A self assertEqual N/A mock_apiversion return_value N/A N/A api_versions get_api_version version N/A N/A N/A mock_apiversion assert_called_once_with version N/A N/A N/A mock patch novaclient.api_versions.APIVersion N/A WrapsTestCase N/A N/A utils TestCase N/A _get_obj_with_vers N/A N/A self vers N/A N/A N/A N/A N/A mock MagicMock api_version N/A N/A api_versions APIVersion vers N/A _side_effect_of_vers_method N/A N/A self N/A args kwargs N/A N/A m N/A N/A mock MagicMock start_version N/A args N/A 1 end_version N/A args N/A 2 N/A N/A m name N/A args N/A 0 N/A m N/A test_end_version_is_none N/A N/A self mock_versioned_method mock_name N/A N/A N/A func_name foo N/A N/A mock_name return_value func_name N/A N/A mock_versioned_method side_effect N/A self _side_effect_of_vers_method foo N/A N/A N/A args kwargs N/A N/A N/A N/A N/A api_versions wraps 2.2 N/A N/A foo N/A N/A self _get_obj_with_vers 2.4 N/A N/A N/A mock_versioned_method assert_called_once_with func_name N/A N/A api_versions APIVersion 2.2 N/A N/A api_versions APIVersion 2.latest N/A mock ANY N/A N/A N/A mock patch novaclient.utils.get_function_name N/A N/A mock patch novaclient.api_versions.VersionedMethod test_start_and_end_version_are_presented N/A N/A self mock_versioned_method mock_name N/A N/A N/A func_name foo N/A N/A mock_name return_value func_name N/A N/A mock_versioned_method side_effect N/A self _side_effect_of_vers_method foo N/A N/A N/A args kwargs N/A N/A N/A N/A N/A api_versions wraps 2.2 2.6 N/A N/A foo N/A N/A self _get_obj_with_vers 2.4 N/A N/A N/A mock_versioned_method assert_called_once_with func_name N/A N/A api_versions APIVersion 2.2 N/A N/A api_versions APIVersion 2.6 N/A mock ANY N/A N/A N/A mock patch novaclient.utils.get_function_name N/A N/A mock patch novaclient.api_versions.VersionedMethod test_api_version_doesnt_match N/A N/A self mock_versioned_method mock_name N/A N/A N/A func_name foo N/A N/A mock_name return_value func_name N/A N/A mock_versioned_method side_effect N/A self _side_effect_of_vers_method foo N/A N/A N/A args kwargs N/A N/A N/A N/A N/A api_versions wraps 2.2 2.6 N/A N/A N/A self assertRaises N/A exceptions VersionNotFoundForAPIMethod foo N/A N/A self _get_obj_with_vers 2.1 N/A N/A N/A mock_versioned_method assert_called_once_with func_name N/A N/A api_versions APIVersion 2.2 N/A N/A api_versions APIVersion 2.6 N/A mock ANY N/A N/A N/A mock patch novaclient.utils.get_function_name N/A N/A mock patch novaclient.api_versions.VersionedMethod test_define_method_is_actually_called N/A N/A self N/A N/A N/A checker N/A N/A mock MagicMock some_func N/A N/A N/A args kwargs N/A N/A N/A checker args kwargs N/A N/A N/A api_versions wraps 2.2 2.6 N/A obj N/A N/A self _get_obj_with_vers 2.4 N/A some_args N/A arg_1 arg_2 N/A some_kwargs N/A key1 key2 value1 value2 N/A N/A some_func obj some_args some_kwargs N/A N/A N/A checker assert_called_once_with N/A N/A obj some_args some_kwargs N/A test_arguments_property_is_copied N/A N/A self N/A N/A some_func N/A N/A N/A N/A N/A N/A N/A N/A nutils arg argument_1 N/A N/A api_versions wraps 2.666 2.777 N/A N/A nutils arg argument_2 N/A versioned_method N/A N/A N/A api_versions get_substitutions N/A N/A nutils get_function_name some_func N/A N/A api_versions APIVersion 2.700 N/A 0 N/A N/A N/A self assertEqual N/A some_func arguments N/A N/A versioned_method func arguments N/A N/A N/A self assertIn N/A N/A argument_1 N/A N/A N/A versioned_method func arguments N/A N/A N/A self assertIn N/A N/A argument_2 N/A N/A N/A versioned_method func arguments N/A N/A DiscoverVersionTestCase N/A N/A utils TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super DiscoverVersionTestCase self setUp N/A N/A self orig_max N/A novaclient API_MAX_VERSION N/A N/A self orig_min N/A novaclient API_MIN_VERSION N/A N/A N/A self addCleanup N/A self _clear_fake_version N/A _clear_fake_version N/A N/A self N/A N/A N/A N/A novaclient API_MAX_VERSION N/A self orig_max N/A N/A novaclient API_MIN_VERSION N/A self orig_min N/A test_server_is_too_new N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A mock MagicMock version 2.7 min_version 2.4 N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.3 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest N/A test_server_is_too_old N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A mock MagicMock version 2.7 min_version 2.4 N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.10 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.9 N/A N/A N/A self assertRaises N/A exceptions UnsupportedVersion N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest N/A test_server_end_version_is_the_latest_one N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A mock MagicMock version 2.7 min_version 2.4 N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.11 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertEqual 2.7 N/A N/A N/A N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest get_string N/A test_client_end_version_is_the_latest_one N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A mock MagicMock version 2.16 min_version 2.4 N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.11 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertEqual 2.11 N/A N/A N/A N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest get_string N/A test_server_without_microversion N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A mock MagicMock version min_version N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.11 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertEqual 2.0 N/A N/A N/A N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest get_string N/A test_server_without_microversion_and_no_version_field N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value N/A N/A versions Version None N/A N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.11 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertEqual 2.0 N/A N/A N/A N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest get_string N/A test_server_without_microversion_rax_workaround N/A N/A self N/A N/A N/A fake_client N/A N/A mock MagicMock N/A N/A N/A N/A fake_client versions get_current return_value None N/A N/A novaclient API_MAX_VERSION N/A N/A api_versions APIVersion 2.11 N/A N/A novaclient API_MIN_VERSION N/A N/A api_versions APIVersion 2.1 N/A N/A N/A self assertEqual 2.0 N/A N/A N/A N/A api_versions discover_version fake_client N/A N/A api_versions APIVersion 2.latest get_string N/A N/A