Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias Expr Call NameLoad Str ImportFrom alias Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Dict Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str With Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str Num Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword Dict Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
    :codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
 __future__ absolute_import salttesting skipIf TestCase salttesting.mock NO_MOCK NO_MOCK_REASON patch salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ salt.modules riak N/A N/A riak __salt__ N/A RiakTestCase N/A TestCase N/A N/A 
    Test cases for salt.modules.riak
     test_start N/A N/A self N/A N/A N/A 
        Test for start Riak
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak start N/A success comment True success N/A test_stop N/A N/A self N/A N/A N/A 
        Test for stop Riak
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak stop N/A success comment True success N/A test_cluster_join N/A N/A self N/A N/A N/A 
        Test for Join a Riak cluster
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak cluster_join A B N/A success comment True success N/A test_cluster_leave N/A N/A self N/A N/A N/A 
        Test for leaving a Riak cluster
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak cluster_leave A B N/A success comment True success N/A test_cluster_plan N/A N/A self N/A N/A N/A 
        Test for Review Cluster Plan
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertTrue N/A N/A riak cluster_plan N/A test_cluster_commit N/A N/A self N/A N/A N/A 
        Test for Commit Cluster Changes
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak cluster_commit N/A success comment True success N/A test_member_status N/A N/A self N/A N/A N/A 
        Test for Get cluster member status
         N/A N/A N/A patch object riak __execute_cmd return_value N/A stdout A:a/B:b
C:c/D:d N/A N/A N/A N/A self assertDictEqual N/A N/A riak member_status N/A membership summary N/A N/A A C B D Exiting Down Valid Leaving Joining a c b d 0 0 0 0 0 N/A test_status N/A N/A self N/A N/A N/A 
        Test status information
         N/A ret N/A stdout vnode_map_update_time_95 : 0
vnode_map_update_time_99 : 0 N/A N/A N/A patch object riak __execute_cmd return_value ret N/A N/A N/A N/A self assertEqual N/A N/A riak status N/A vnode_map_update_time_95 vnode_map_update_time_99 0 0 N/A test_test N/A N/A self N/A N/A N/A 
        Test the Riak test
         N/A N/A N/A patch object riak __execute_cmd return_value N/A retcode stdout 0 success N/A N/A N/A N/A self assertEqual N/A N/A riak test N/A success comment True success N/A test_services N/A N/A self N/A N/A N/A 
        Test Riak Service List
         N/A N/A N/A patch object riak __execute_cmd return_value N/A stdout [a,b,c] N/A N/A N/A N/A self assertEqual N/A N/A riak services N/A a b c N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests RiakTestCase needs_daemon False