def testPluckTillConnectedEmpty(self): agent = Agent(n=10, topology='Empty') agent.pluckTillConnected() self.assertTrue(agent.isConnected())