def METHOD_NAME():
    with unittest.mock.patch("tasks.urllib.request.build_opener", FakeFailureUrlOpener):
        with unittest.mock.patch("sys.argv", ["sg_collect","--log-redaction-level", "partial", "--upload-host", "https://example.com", "--customer", "fakeCustomer", "--keep-zip", ZIP_NAME]):
            with pytest.raises(SystemExit) as exc:
                sgcollect_info.main()
            assert exc.value.code == 1
    assert pathlib.Path(ZIP_NAME).exists()
    assert pathlib.Path(REDACTED_ZIP_NAME).exists()