Module Expr Str Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Raise Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Raise Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Str Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad 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 random test_repo.database.fixtures DBaaSFixture test_accounts N/A DBaaSFixture N/A N/A instance_id None N/A dbaas None setUpClass N/A N/A cls N/A N/A N/A 
        Creating an instance for database testing

         N/A N/A N/A N/A super test_accounts cls setUpClass N/A N/A cls mgmt_dbaas N/A N/A N/A cls dbaas_provider mgmt_client reddwarfclient N/A N/A N/A N/A cls mgmt_dbaas authenticate N/A NAME qe-mgmt-accounts-testing N/A FLAVOR 1 N/A VOLUME 1 N/A instance N/A N/A N/A N/A test_accounts mgmt_dbaas instances create name NAME flavor_id FLAVOR volume N/A size VOLUME N/A httpCode N/A N/A N/A cls behavior get_last_response_code N/A test_accounts mgmt_dbaas N/A N/A httpCode 200 N/A N/A N/A Exception N/A Create instance failed with code %s httpCode N/A N/A cls instance_id N/A instance id N/A N/A N/A N/A cls behavior wait_for_active N/A test_accounts mgmt_dbaas instanceId N/A test_accounts instance_id N/A instance_details N/A N/A N/A N/A test_accounts mgmt_dbaas management show instance N/A httpCode N/A N/A N/A cls behavior get_last_response_code N/A test_accounts mgmt_dbaas N/A N/A httpCode 200 N/A N/A N/A Exception N/A List instance details failed with code %s httpCode N/A N/A cls tenant_id N/A instance_details tenant_id N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A 
        Tearing down: Deleting the instance if in active state

         N/A N/A N/A test_accounts instance_id None N/A N/A status N/A N/A N/A cls behavior get_instance_status N/A test_accounts mgmt_dbaas instanceId N/A test_accounts instance_id N/A N/A N/A N/A cls behavior is_instance_active N/A test_accounts mgmt_dbaas instanceStatus status N/A N/A N/A N/A N/A N/A N/A N/A test_accounts mgmt_dbaas instances get N/A test_accounts instance_id delete N/A classmethod test_list_all_active_accounts N/A N/A self N/A N/A N/A N/A N/A _accounts N/A N/A N/A N/A self mgmt_dbaas accounts index N/A httpCode N/A N/A N/A self behavior get_last_response_code N/A self mgmt_dbaas N/A N/A N/A self assertTrue N/A httpCode 200 N/A List all active accounts failed with code %s httpCode N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self fixture_log debug N/A 	Exception: %r e N/A N/A N/A N/A self assertIs N/A type N/A _accounts accounts list N/A Expected %r , Actual %r N/A list N/A type N/A _accounts accounts N/A acct N/A _accounts accounts N/A N/A N/A N/A N/A self fixture_log debug N/A 	Account: %r acct N/A N/A N/A N/A self fixture_log debug N/A 		Account ID: %r N/A acct N/A id N/A N/A N/A N/A self fixture_log debug N/A 		Account number of instances: %r N/A acct N/A num_instances N/A N/A N/A self assertIs N/A type acct dict N/A Expected %r , Actual %r N/A dict N/A type acct N/A N/A N/A self assertIs N/A type N/A acct N/A id unicode N/A Expected %r , Actual %r N/A unicode N/A type N/A acct N/A id N/A N/A N/A self assertIs N/A type N/A acct N/A num_instances int N/A Expected %r , Actual %r N/A int N/A type N/A acct N/A num_instances N/A test_list_account_details N/A N/A self N/A N/A N/A N/A N/A _accounts N/A N/A N/A N/A self mgmt_dbaas accounts index N/A httpCode N/A N/A N/A self behavior get_last_response_code N/A self mgmt_dbaas N/A N/A N/A self assertTrue N/A httpCode 200 N/A List all active accounts failed with code %s httpCode N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self fixture_log debug N/A 	Exception: %r e N/A N/A selected_acct N/A N/A random choice N/A _accounts accounts N/A N/A N/A N/A self fixture_log debug N/A 	Selected account: %r N/A selected_acct N/A id N/A num_instances N/A selected_acct N/A num_instances N/A N/A N/A _account_details N/A N/A N/A N/A self mgmt_dbaas accounts show N/A selected_acct N/A id N/A httpCode N/A N/A N/A self behavior get_last_response_code N/A self mgmt_dbaas N/A N/A N/A self assertTrue N/A httpCode 200 N/A List account details failed with code %s httpCode N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self fixture_log debug N/A 	Exception: %r e N/A N/A N/A N/A N/A self fixture_log debug N/A 		Account ID: %r N/A _account_details id N/A N/A N/A self assertEqual N/A selected_acct N/A id N/A _account_details id N/A Error: account %r was not found! N/A selected_acct N/A id N/A instance_found False N/A inst N/A _account_details instances N/A N/A N/A N/A N/A self fixture_log debug N/A 	Instance: %r inst N/A N/A N/A N/A self fixture_log debug N/A 		Instance host: %r N/A inst N/A host N/A N/A N/A N/A self fixture_log debug N/A 		Instance ID: %r N/A inst N/A id N/A N/A N/A N/A self fixture_log debug N/A 		Instance name: %r N/A inst N/A name N/A N/A N/A N/A self fixture_log debug N/A 		Instance status: %r N/A inst N/A status N/A N/A N/A instance_found N/A N/A _account_details id N/A self tenant_id N/A N/A N/A N/A inst N/A id N/A self instance_id N/A N/A instance_found True N/A N/A N/A N/A self fixture_log debug N/A 			Found test inst %r for %r N/A N/A self instance_id N/A _account_details id N/A N/A N/A self assertIs N/A type N/A inst N/A host unicode N/A Expected %r , Actual %r N/A unicode N/A type N/A inst N/A host N/A N/A N/A self assertIs N/A type N/A inst N/A id unicode N/A Expected %r , Actual %r N/A unicode N/A type N/A inst N/A id N/A N/A N/A self assertIs N/A type N/A inst N/A name unicode N/A Expected %r , Actual %r N/A unicode N/A type N/A inst N/A name N/A N/A N/A self assertIs N/A type N/A inst N/A status unicode N/A Expected %r , Actual %r N/A unicode N/A type N/A inst N/A status N/A N/A N/A _account_details id N/A self tenant_id N/A N/A N/A N/A self assertTrue instance_found N/A Error: %r was not found! N/A self instance_id N/A N/A N/A self assertEqual num_instances N/A len N/A _account_details instances N/A Expected %r instances , Found %r instances N/A num_instances N/A len N/A _account_details instances N/A N/A