#NEWLINE# def test_command_has_logger( self ) : #NEWLINE# #INDENT# cmd = FakeCommand ( mock . Mock ( ) , mock . Mock ( ) ) #NEWLINE# self . assertTrue ( hasattr ( cmd , 'log' ) ) #NEWLINE# self . assertEqual ( 'openstackclient.tests.common.test_command.FakeCommand' , cmd . log . name )