def terminate(self):
    # Tear down the Pailgun TCPServer.
    if self.pailgun:
      self.pailgun.server_close()

    super(PailgunService, self).terminate()
Test a successful addition of 2 users to a group
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/pantsd/service/pailgun_service.py/PailgunService.terminate--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/TestQuickAddUserToGroup.test_successful_addition