@pytest.mark.parametrize('url,expected', [('http://www.google.com/', True), ('https://example.com/', True), ('www.google.com', False), ('http://www.google.com/ is a search engine', False)])
def test_is_url(url, expected):
    assert (expected == utils.is_url(url))
@pytest.mark.parametrize('url,expected', [('http://www.google.com/', True), ('https://example.com/', True), ('www.google.com', False), ('http://www.google.com/ is a search engine', False)])
def test_is_url(url, expected):
    assert (expected == utils.is_url(url))