code: def test_total_time(self):
      result = self.utils.total_time(self.data)
      self.assertEqual(30.182539682539684, result)
  
      result = self.utils.total_time(self.data, "months")
      self.assertEqual(250.05753361606995, result)
  
      result = self.utils.total_time(self.data, "weeks")
      self.assertEqual(1086.5714285714287, result)
  
      result = self.utils.total_time(self.data, "days")
      self.assertEqual(7606, result)
  
      result = self.utils.total_time(self.data, "hours")
      self.assertEqual(182544, result)
  
      result = self.utils.total_time(self.data, "minutes")
      self.assertEqual(10952640.0, result)
  
      result = self.utils.total_time(self.data, "seconds")
      self.assertEqual(657158400.0, result)
  
imports: from .config import sample_data
  from .context import pandas_ta
  from unittest import skip, TestCase
  from unittest.mock import patch
  import numpy
  import numpy.testing
  from pandas import DataFrame, Series
  from pandas.api.types import is_datetime64_ns_dtype, is_datetime64tz_dtype
label_desc: Use image node_id 31 for calling the TestUtilities obj's underlying member method code with example usage: obj.test_total_time() without return types