code: def test_bot_with_spawned_weapon(self):
      env = deepmind_lab.Lab(
          "tests/extra_entities_with_bots_test",
          ["DEBUG.POS.TRANS"],
          config={
              "fps": "60",
              "width": "32",
              "height": "32",
              "spawnWeapons": "true",
          },
      )
  
      noop = np.zeros([len(env.action_spec())], dtype=np.intc)
      env.reset()
      for _ in six.moves.range(6000):
          env.step(noop, 1)
          if [
              event
              for event in env.events()
              if event[0] == "PLAYER_TAGGED"
          ]:
              break
      else:
          self.fail("Failed to be tagged!")
  
file_path: lab/python/tests/extra_entities_with_bots_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl.testing import absltest
  import numpy
  import six
  import deepmind_lab
label_desc: Use image node_id 1 for calling the ExtraEntitiesWithBotsTest obj's underlying member method code with example usage: obj.test_bot_with_spawned_weapon() without return types