def AssignPortsRandomly(self):
    bound = []
    for child in self.children:
      sock = socket.socket()
      sock.bind(('localhost', 0))
      bound.append(sock)
      child.SetHostPort(self.host, sock.getsockname()[1])
    for sock in bound:
      sock.close()
Test object deletion via the admin
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver_multiprocess.py/DevProcess.AssignPortsRandomly--crossover with--dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/examples/examples.py/Examples.test_you_can_delete_objects_you_created