Module Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad NameLoad Str Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A mock N/A json N/A runabove TestAccount N/A N/A unittest TestCase N/A N/A answer_account {
        "email": "test@runabove.com",
        "accountIdentifier": "test@runabove.com",
        "firstname": "Test",
        "country": "US",
        "city": null,
        "area": null,
        "cellNumber": "+99.999999999",
        "name": "Test",
        "address": null,
        "postalCode": null
    } N/A answer_balance {
        "currentUsages": [
            {
                "projectId": "randomlongstring",
                "currentTotal": 192.39
            },
            {
                "projectId": "randomlongstring2",
                "currentTotal": 1
            }
        ],
        "creditLeft": 200
    } setUp N/A N/A self mock_wrapper N/A N/A N/A N/A self mock_wrapper mock_wrapper N/A N/A self account N/A N/A N/A runabove account AccountManager mock_wrapper None N/A N/A N/A mock patch runabove.wrapper_api test_base_path N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self account basepath /me N/A test_account_existance N/A N/A self N/A N/A N/A N/A N/A N/A self mock_wrapper get return_value N/A N/A json loads N/A self answer_account N/A account N/A N/A N/A self account get N/A N/A N/A self assertIsInstance account N/A N/A runabove account Account N/A test_load_balance N/A N/A self N/A N/A N/A N/A N/A N/A self mock_wrapper get return_value N/A N/A json loads N/A self answer_balance N/A balance N/A N/A N/A self account _load_balance N/A N/A N/A self assertIsInstance balance tuple N/A N/A N/A self assertTrue N/A N/A len balance 2 N/A N/A N/A self assertEqual N/A balance N/A 0 193.39 N/A N/A N/A self assertEqual N/A balance N/A 1 200 N/A N/A TestAccountObject N/A N/A unittest TestCase N/A setUp N/A N/A self mock_accounts N/A N/A N/A N/A self mock_accounts mock_accounts N/A N/A self account N/A N/A N/A runabove account Account N/A self mock_accounts test@runabove.com Test Test None None None None US test@runabove.com +99.999999999 N/A N/A N/A mock patch runabove.account.AccountManager test_current_total N/A N/A self N/A N/A N/A N/A N/A N/A self mock_accounts _load_balance return_value N/A 193.39 200 N/A N/A N/A self assertEqual N/A N/A self account current_total 193.39 N/A N/A N/A N/A N/A self mock_accounts _load_balance assert_called_once N/A test_credit_left N/A N/A self N/A N/A N/A N/A N/A N/A self mock_accounts _load_balance return_value N/A 193.39 200 N/A N/A N/A self assertEqual N/A N/A self account credit_left 200 N/A N/A N/A N/A N/A self mock_accounts _load_balance assert_called_once N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main