code: def test_representation(self):
      assert all(
          [
              metric in self.cumulative_metrics.__repr__()
              for metric in self.cumulative_metrics.METRIC_NAMES
          ]
      )
  
file_path: catalyst/tests/risk/test_risk_cumulative.py
imports: import numpy
  import pandas
  import catalyst.finance.risk
  from catalyst.utils import factory
  from catalyst.testing.fixtures import WithTradingEnvironment, CatalystTestCase
  from catalyst.finance.trading import SimulationParameters
label_desc: Use image node_id 10 for calling the TestRisk obj's underlying member method code with example usage: obj.test_representation() without return types