code: def get_duration(self, seconds=False):
          
          if seconds:
              return str(self.duration)
          delta = datetime.timedelta(seconds=self.duration)
          return str(delta)
docs: Get test case duration.
  
          :param seconds: if set to True, return tc duration in seconds, otherwise as str(
          datetime.timedelta)
          :return: str(datetime.timedelta) or duration as string in seconds