'Test to ensure that is_up is not set by default on ignored hosts
@since 3.6
@jira_ticket PYTHON-551
@expected_result ignored hosts should have None set for is_up
@test_category connection'

@local
def test_ignored_host_up(self):

    ingored_host_policy = IgnoredHostPolicy(['127.0.0.2', '127.0.0.3'])
    cluster = Cluster(protocol_version=PROTOCOL_VERSION, load_balancing_policy=ingored_host_policy)
    session = cluster.connect()
    for host in cluster.metadata.all_hosts():
        if (str(host) == '127.0.0.1'):
            self.assertTrue(host.is_up)
        else:
            self.assertIsNone(host.is_up)
    cluster.shutdown()
