#2869 - Edit test fixture to work with new agent system

This commit is contained in:
Marek Wolan
2025-01-14 10:58:34 +00:00
parent e7cfeeafc0
commit 9f5e16dd85

View File

@@ -500,10 +500,12 @@ def game_and_agent():
reward_function = RewardFunction() reward_function = RewardFunction()
config = { config = {
"type": "ControlledAgent",
"agent_name": "test_agent", "agent_name": "test_agent",
"action_manager": action_space, "action_manager": action_space,
"observation_manager": observation_space, "observation_manager": observation_space,
"reward_function": reward_function, "reward_function": reward_function,
"agent_settings": {},
} }
test_agent = ControlledAgent.from_config(config=config) test_agent = ControlledAgent.from_config(config=config)