class_docstr: Mock wrapper that fires test events during reset.
class_docstr_tok: ["Mock","wrapper","that","fires","test","events","during","reset","."]
docstr: Reset the env, then fire the test event (the ordering matters)
docstr_tok: ["Reset","the","env",",","then","fire","the","test","event","(","the","ordering","matters",")"]
code: def reset(self):
      """Reset the env, then fire the test event (the ordering matters)"""
      obs = self.env.reset()
      base_events = (
          self.core_env.context.event_service.create_event_topic(
              BaseEnvEvents
          )
      )
      base_events.test_event(1)
      return obs
  
imports: import pytest
  from maze.core.env.base_env_events import BaseEnvEvents
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.observation_conversion import ObservationType
  from maze.core.log_events.monitoring_events import RewardEvents
  from maze.core.log_stats.log_stats import LogStatsLevel
  from maze.core.wrappers.log_stats_wrapper import LogStatsWrapper
  from maze.core.wrappers.wrapper import Wrapper
  from maze.test.shared_test_utils.dummy_wrappers.step_skip_in_reset_wrapper import StepSkipInResetWrapper
  from maze.test.shared_test_utils.dummy_wrappers.step_skip_in_step_wrapper import StepSkipInStepWrapper
  from maze.test.shared_test_utils.helper_functions import build_dummy_maze_env, build_dummy_structured_env
label_desc: Use image node_id 1 for calling the _EventsInResetWrapper obj's underlying member method code with example usage: obj.reset() and returns: obs