'If wrong url is passed to the ``from_url``, It should return None'

def test_from_url_with_wrong_url(self):

    rev = revision(save=True)
    url = rev.get_absolute_url()
    get_doc = Document.from_url(url)
    assert (get_doc is None)
