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