code: def test_episode_batch_to_timestep_batch(self, eps_data):
      t = EpisodeBatch(**eps_data)
      replay_buffer = PathBuffer(capacity_in_transitions=100)
      replay_buffer.add_episode_batch(t)
      timesteps = replay_buffer.sample_timesteps(10)
      assert len(timesteps.rewards) == 10
  
file_path: garage/tests/garage/replay_buffer/test_path_buffer.py
imports: import akro
  import numpy
  import pytest
  from garage import EnvSpec, EpisodeBatch, StepType
  from garage.replay_buffer import PathBuffer
  from tests.fixtures.envs.dummy import DummyDiscreteEnv
label_desc: Use image node_id 2 for calling the TestPathBuffer obj's underlying member method code with example usage: obj.test_episode_batch_to_timestep_batch(eps_data) without return types