MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / test_reset_obs_in_obs_space

Method test_reset_obs_in_obs_space

tests/envs/test_base.py:32–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31 @pass_if_parent
32 def test_reset_obs_in_obs_space(self):
33 env = deepcopy(self.env)
34 obs = env.reset()
35
36 self.assertIn(obs, env.observation_space)
37
38 @pass_if_parent
39 def test_pre_reset_state_series_invariant_to_observation_keys(self):

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected