def test_disconnect(self): cluster = RoundRobinCassandraCluster(['one', 'two', 'three'], 'keyspace') cluster.disconnect() for client in self.clients: client.disconnect.assert_called_with()
def test_disconnect(self): cluster = RoundRobinCassandraCluster(['one', 'two', 'three'], 'keyspace') cluster.disconnect() for client in self.clients: client.disconnect.assert_called_with()