def test_fail(self): host = Host((None, None)) assert host.is_ok() == False, "Bad host thinks it is good"
def test(self): host = Host((0x00000001, 80)) assert host.is_ok() == True, "Good host thinks it is bad"