#NEWLINE# def test_change_password_with_none_password( self ) : #NEWLINE# #INDENT# policy = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# user = 'testchangepassworduser' #NEWLINE# password = None #NEWLINE# try : #NEWLINE# #INDENT# self . client . admin_change_password ( user , password , policy ) #NEWLINE# #UNINDENT# except aerospike . exception . ParamError as exception : #NEWLINE# #INDENT# assert ( exception . code == ( - 2 ) ) #NEWLINE# assert ( exception . msg == 'Password should be a string' )