#NEWLINE# def test_get_logger_should_create_queue_logger_for_child( self ) : #NEWLINE# #INDENT# logger_name = 'logger' #NEWLINE# stacklog . get_logger ( logger_name , is_parent = True ) #NEWLINE# child_logger = stacklog . get_logger ( logger_name , is_parent = False ) #NEWLINE# self . assertIsInstance ( child_logger . handlers [ 0 ] , stacklog . QueueHandler ) #NEWLINE# self . assertEqual ( child_logger . name , 'child_logger' ) #NEWLINE# self . assertEquals ( child_logger . level , logging . DEBUG )