#NEWLINE# def test_do_chassis_list_invalid_fields( self ) : #NEWLINE# #INDENT# client_mock = mock . MagicMock ( ) #NEWLINE# args = self . _get_client_mock_args ( fields = [ [ 'foo' , 'bar' ] ] ) #NEWLINE# self . assertRaises ( exceptions . CommandError , c_shell . do_chassis_list , client_mock , args )