#NEWLINE# def test_grant_privileges_incorrect_privilege_type( self ) : #NEWLINE# #INDENT# '\n            privilege type incorrect\n        ' #NEWLINE# try : #NEWLINE# #INDENT# self . client . admin_grant_privileges ( 'usr-sys-admin-test' , None ) #NEWLINE# #UNINDENT# except e . ParamError as exception : #NEWLINE# #INDENT# assert ( exception . code == ( - 2 ) ) #NEWLINE# assert ( exception . msg == 'Privileges should be a list' )