From 2eff3912fb9d70e2460f2b27bc23bca28c0383aa Mon Sep 17 00:00:00 2001 From: SunilSamra Date: Tue, 6 Jun 2023 13:49:22 +0100 Subject: [PATCH] 893 - added consistent action for test_reward.py --- tests/conftest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 41c1bc94..1b3a06b4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -182,8 +182,9 @@ def run_generic(env, config_values): # Send the observation space to the agent to get an action # TEMP - random action for now # action = env.blue_agent_action(obs) - # action = 0 - action = env.action_space.sample() + # action = env.action_space.sample() + action = 0 + # Run the simulation step on the live environment obs, reward, done, info = env.step(action)