Example #1
0
def test_regex(test_url):
    match = _URL_RE.match(test_url)
    assert match.groupdict()
Example #2
0
def test_authority(request):
    match = _URL_RE.match(request.param)
    return match.groupdict()['authority']