def test_is_valid_x(bad_url): assert not DIDUrl.is_valid(bad_url)
def test_partial_match_url(): assert not DIDUrl.is_valid("did:bad:char'@='acters:example:1234abcd#4")
def test_is_valid(url): assert DIDUrl.is_valid(url)