#NEWLINE# def test_neg_list_size_with_no_parameters( self ) : #NEWLINE# #INDENT# '\n        Invoke list_size() without any mandatory parameters.\n        ' #NEWLINE# with pytest . raises ( TypeError ) as typeError : #NEWLINE# #INDENT# self . as_connection . list_size ( ) #NEWLINE# #UNINDENT# assert ( "Required argument 'key' (pos 1) not found" in str ( typeError . value ) )