def test_disconnect(self): c = Mock() p = Cluster( hosts={0: c}, ) p.disconnect() c.disconnect.assert_called_once()
def test_disconnect(self): c = Mock() p = Cluster(hosts={0: c}, ) p.disconnect() c.disconnect.assert_called_once()