#NEWLINE# def setup_method( self , method ) : #NEWLINE# #INDENT# '\n        Setup method\n        ' #NEWLINE# ( hostlist , user , password ) = TestBaseClass ( ) . get_hosts ( ) #NEWLINE# config = { #NEWLINE# #INDENT# 'hosts' : hostlist , #NEWLINE# #UNINDENT# } #NEWLINE# self . client = aerospike . client ( config ) . connect ( method , password ) #NEWLINE# try : #NEWLINE# #INDENT# self . client . admin_drop_role ( 'usr-sys-admin-test' ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . client . admin_create_role ( 'usr-sys-admin-test' , [ { #NEWLINE# #INDENT# 'code' : aerospike . PRIV_USER_ADMIN , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'code' : aerospike . PRIV_SYS_ADMIN , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# self . delete_users = [ ]