#NEWLINE# def test_init_multiple_errors( self , logMock ) : #NEWLINE# #INDENT# expec_no_children = { #NEWLINE# #INDENT# 'volume_types' : [ { #NEWLINE# #INDENT# 'id' : '1' , #NEWLINE# 'name' : 'san' , #NEWLINE# 'extra_specs' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# ( self . vtl , volume_types ) = _set_up_vol_types_vtl ( json . dumps ( expec_no_children ) ) #NEWLINE# logMock . assert_called_with ( 'Replaced capabilities:volume_backend_name, drivers:display_name, drivers:san_backed_disk, drivers:exact_capacity with default values' ) #NEWLINE# self . _check_expected ( volume_types )