Module Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body 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 decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str Index Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Str 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 TestToken N/A N/A unittest TestCase N/A N/A answer_token {
      "token": {
        "catalog": [
          {
            "endpoints": [
              {
                "id": "randomendpointid1",
                "interface": "public",
                "legacy_endpoint_id": "randomlegacyid1",
                "region": "BHS-1",
                "url": "https://storage.bhs-1.runabove.io/v1/AUTH_randomprojectid"
              },
              {
                "id": "randomendpointid2",
                "interface": "public",
                "legacy_endpoint_id": "randomlegacyid2",
                "region": "SBG-1",
                "url": "https://storage.sbg-1.runabove.io/v1/AUTH_randomprojectid"
              }
            ],
            "id": "3c7237cfff4f44b7b3dbd951a49d1bec",
            "type": "object-store"
          }
        ],
        "expires_at": "2014-08-09T18:32:34.39985Z",
        "issued_at": "2014-08-08T18:32:34.399875Z",
        "methods": [
          "manager"
        ],
        "project": {
          "domain": {
            "name": "Default"
          },
          "id": "randomprojectid",
          "name": "27081924"
        },
        "roles": [
          {
            "id": "randomroleid",
            "name": "_member_"
          }
        ],
        "user": {
          "domain": {
            "name": "Default"
          },
          "name": "test@runabove.com",
          "password": "",
          "id": "randomuserid"
        }
      },
      "X-Auth-Token": "63c1sMWB1o92Vm0A-Oa82aoltuHcAtpcEvLEFOW4UBlNlSI="
    } 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 token N/A N/A N/A runabove token TokenManager 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 assertEquals N/A N/A self token basepath /token N/A test_token_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_token N/A token N/A N/A N/A self token get N/A N/A N/A self assertIsInstance token N/A N/A runabove token Token N/A N/A TestTokenObject N/A N/A unittest TestCase N/A setUp N/A N/A self mock_tokens N/A N/A N/A N/A self mock_tokens mock_tokens N/A mock_token N/A N/A json loads N/A TestToken answer_token N/A N/A self token N/A N/A N/A runabove token Token N/A self mock_tokens N/A mock_token N/A X-Auth-Token N/A N/A mock_token N/A token N/A user N/A N/A mock_token N/A token N/A project N/A N/A mock_token N/A token N/A catalog N/A N/A mock_token N/A token N/A methods N/A N/A mock_token N/A token N/A roles N/A N/A mock_token N/A token N/A issued_at N/A N/A mock_token N/A token N/A expires_at N/A N/A N/A mock patch runabove.token.TokenManager test_init N/A N/A self N/A N/A N/A mock_token N/A N/A json loads N/A TestToken answer_token N/A N/A N/A self assertEqual N/A mock_token N/A X-Auth-Token N/A N/A self token auth_token N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A user N/A N/A self token user N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A roles N/A N/A self token roles N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A project N/A N/A self token project N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A catalog N/A N/A self token catalog N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A methods N/A N/A self token methods N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A issued_at N/A N/A self token issued_at N/A N/A N/A self assertEqual N/A N/A mock_token N/A token N/A expires_at N/A N/A self token expires_at N/A test_get_endpoint N/A N/A self N/A N/A N/A mock_token N/A N/A json loads N/A TestToken answer_token N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A mock_token N/A token N/A catalog N/A 0 N/A endpoints N/A 1 N/A N/A N/A self token get_endpoint object-store SBG-1 N/A N/A N/A self assertRaises KeyError N/A N/A self token get_endpoint object-store RBX-1 N/A N/A N/A self assertRaises KeyError N/A N/A self token get_endpoint compute SBG-1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main