def METHOD_NAME(urlopen, Request, mirrorurl):
    excp = HTTPError('https://archlinux.org/404.txt', 404, 'Not Found', '', None)
    mocked_request_exception(urlopen, Request, excp)
    call_command('mirrorcheck')
    mirrorlog = MirrorLog.objects.first()
    assert mirrorlog.error == str(excp)
    assert not mirrorlog.is_success