<s> '''<STR_LIT>''' <EOL> import unittest <EOL> from dna . logging import logger <EOL> import insights . plugins . utils as utils <EOL> class FakeCumulativeRisks ( object ) : <EOL> def to_dict ( self ) : <EOL> return { '<STR_LIT>' : '<STR_LIT>' } <EOL> class FakePerfs ( object ) : <EOL> def __init__ ( self , progress = <NUM_LIT:0.0> ) : <EOL> self . progress = progress <EOL> self . cumulative_risk_metrics = FakeCumulativeRisks ( ) <EOL> class PluginsUtilsTestCase ( unittest . TestCase ) : <EOL> def test_debug_portfolio ( self ) : <EOL> self . assertIsNone ( utils . debug_portfolio ( <EOL> logger ( __name__ ) , '<STR_LIT>' , None ) ) <EOL> def test_debug_intial_metrics ( self ) : <EOL> self . assertIsNone ( utils . debug_metrics ( <EOL> logger ( __name__ ) , '<STR_LIT>' , FakePerfs ( ) ) ) <EOL> def test_debug_metrics ( self ) : <EOL> self . assertIsNone ( utils . debug_metrics ( <EOL> logger ( __name__ ) , '<STR_LIT>' , FakePerfs ( <NUM_LIT> ) ) ) </s>
