Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args defaults vararg kwarg body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad Dict Str Str NameLoad Num Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str Str Num Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr keyword TupleLoad Num Num NameStore body Assign NameStore Call NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Str Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list
N/A N/A os N/A json N/A mock werckercli.tests BasicClientCase werckercli.client Client PATH_BASIC_ACCESS_TOKEN PATH_CREATE_PROJECT fake_do_post N/A N/A N/A args kargs N/A N/A N/A BasicClientTests N/A BasicClientCase N/A N/A wercker_url http://localhost:1736 N/A TOKEN_VALUE 50ffd4a6b4e145006c0000031359019219496 setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BasicClientTests self setUp N/A N/A N/A os environ N/A wercker_url N/A self wercker_url N/A test_core_and_environ_settings N/A N/A self N/A N/A N/A c N/A Client N/A N/A N/A self assertEqual N/A c wercker_url N/A self wercker_url N/A N/A N/A self assertTrue N/A c api_version 1.0 N/A N/A N/A os environ N/A wercker_url N/A c N/A Client N/A N/A N/A self assertTrue N/A N/A c wercker_url N/A self wercker_url N/A N/A N/A mock patch werckercli.client.puts N/A N/A mock Mock test_do_post N/A N/A self N/A N/A N/A asserted_return N/A status_code 200 N/A asserted_return_string N/A N/A json dumps asserted_return N/A N/A N/A self register_api_call test N/A N/A body status asserted_return_string 200 N/A c N/A Client N/A N/A code result N/A N/A c do_post N/A N/A c wercker_url /api/1.0/test N/A N/A N/A N/A self assertEqual code 200 N/A N/A N/A self assertEqual result asserted_return N/A N/A N/A self assertEqual N/A N/A json dumps result asserted_return_string N/A N/A N/A mock patch werckercli.client.puts N/A N/A mock Mock test_request_oauth_token N/A N/A self N/A N/A N/A expected_response N/A all_good true N/A N/A N/A self register_api_call PATH_BASIC_ACCESS_TOKEN N/A N/A body status {"all_good":"true"} 200 N/A c N/A Client N/A N/A code result N/A N/A c request_oauth_token jacco flenter N/A N/A N/A self assertEqual expected_response result N/A N/A N/A mock patch werckercli.client.puts N/A N/A mock Mock test_create_project N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client do_post N/A N/A mock Mock return_value N/A 1 2 do_post N/A N/A c N/A Client N/A token token N/A N/A code result N/A N/A c create_project token user project source_control checkout_key_id N/A call N/A do_post call_args N/A N/A N/A self assertEqual N/A len N/A N/A call call_list 1 N/A path N/A N/A N/A c wercker_url /api/ N/A N/A PATH_CREATE_PROJECT format token token N/A N/A N/A self assertEqual N/A N/A N/A call N/A 0 count path 1 N/A N/A N/A mock patch werckercli.client.puts N/A N/A mock Mock N/A