#NEWLINE# def test_neg_list_clear_meta_type_integer( self ) : #NEWLINE# #INDENT# '\n        Invoke list_clear() with metadata input is of type integer\n        ' #NEWLINE# key = ( 'test' , 'demo' , 1 ) #NEWLINE# try : #NEWLINE# #INDENT# self . as_connection . list_clear ( key , 'contact_no' , 888 ) #NEWLINE# #UNINDENT# except e . ParamError as exception : #NEWLINE# #INDENT# assert ( key . code == ( - 2 ) ) #NEWLINE# assert ( exception . msg == 'Metadata should be of type dictionary' )