'Test is_up filter works on empty clusters.'

def test_cluster_get_is_up_on_empty_cluster(self):

    cluster = utils.create_cluster(self.ctxt)
    db_cluster = db.cluster_get(self.ctxt, cluster.id, is_up=False)
    self.assertEqual(cluster.id, db_cluster.id)
    self.assertRaises(exception.ClusterNotFound, db.cluster_get, self.ctxt, cluster.id, is_up=True)
