<s> import mock <EOL> from girder import constants , logger <EOL> print ( constants . TerminalColor . warning ( '<STR_LIT>' ) ) <EOL> for method in ( '<STR_LIT:info>' , '<STR_LIT:error>' , '<STR_LIT>' ) : <EOL> setattr ( logger , method , mock . MagicMock ( ) ) </s>
