#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# TestQueryUsers . Me = self #NEWLINE# self . client = aerospike . client ( config ) . connect ( user , password ) #NEWLINE# try : #NEWLINE# #INDENT# self . client . admin_drop_user ( 'example-test' ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# policy = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# user = 'example-test' #NEWLINE# password = 'foo2' #NEWLINE# roles = [ 'read-write' , 'sys-admin' , 'read' ] #NEWLINE# self . client . admin_create_user ( user , password , roles , policy ) #NEWLINE# self . delete_users = [ ]