code: def test_kaggle_football_agent_spaces(self):
      from ray.rllib.env.wrappers.kaggle_wrapper import (
          KaggleFootballMultiAgentEnv,
      )
  
      env = KaggleFootballMultiAgentEnv()
      obs, info = env.reset()
      action_space, obs_space = env.build_agent_spaces()
      self.assertTrue(obs_space.contains(obs["agent0"]))
      self.assertTrue(obs_space.contains(obs["agent1"]))
  
      action_dict = {
          "agent0": action_space.sample(),
          "agent1": action_space.sample(),
      }
      obs, _, _, _, _ = env.step(action_dict)
      self.assertTrue(obs_space.contains(obs["agent0"]))
      self.assertTrue(obs_space.contains(obs["agent1"]))
  
imports: import unittest
label_desc: Use image node_id 3 for calling the TestKaggleFootballMultiAgentEnv obj's underlying member method code with example usage: obj.test_kaggle_football_agent_spaces() without return types