def testPort(self): spawner = LocalManagerSpawner(self._port) self.assertEquals(self._port, spawner.getPort()) spawner = None