def test_cookie_domain_match(domain: bytes, value: bytes, is_match: bool): assert (CookieJar.domain_match(domain, value) is is_match), f"{domain.decode()} {value.decode()} != {is_match}"
def test_cookie_domain_match(domain: str, value: str, is_match: bool): assert ( CookieJar.domain_match(domain, value) is is_match ), f"{domain} {value} != {is_match}"