'Ensure query plan for a downed cluster will execute without errors'

def test_no_live_nodes(self):

    hosts = []
    for i in range(4):
        h = Host(i, SimpleConvictionPolicy)
        h.set_location_info('dc1', 'rack1')
        hosts.append(h)
    policy = DCAwareRoundRobinPolicy('dc1', used_hosts_per_remote_dc=1)
    policy.populate(Mock(), hosts)
    for host in hosts:
        policy.on_down(host)
    qplan = list(policy.make_query_plan())
    self.assertEqual(qplan, [])
