#NEWLINE# def test_warn_if_no_intial_members( self ) : #NEWLINE# #INDENT# fake_conn = make_fake_conn ( ) #NEWLINE# cfg = make_fake_conf ( ) #NEWLINE# mon . catch_mon_errors ( fake_conn , self . logger , 'host' , expected_msg , Mock ( ) ) #NEWLINE# expected_msg = 'is not defined in `mon initial members`' #NEWLINE# self . assert_logger_message ( self . logger . warning , expected_msg )