#2869 - Edit test fixture to work with new agent system
This commit is contained in:
@@ -500,10 +500,12 @@ def game_and_agent():
|
||||
reward_function = RewardFunction()
|
||||
|
||||
config = {
|
||||
"type": "ControlledAgent",
|
||||
"agent_name": "test_agent",
|
||||
"action_manager": action_space,
|
||||
"observation_manager": observation_space,
|
||||
"reward_function": reward_function,
|
||||
"agent_settings": {},
|
||||
}
|
||||
|
||||
test_agent = ControlledAgent.from_config(config=config)
|
||||
|
||||
Reference in New Issue
Block a user