def METHOD_NAME(self, WMOs, embed):
    if has_ipython:
        import IPython
    dsh = open_sat_altim_report(WMO=WMOs, embed=embed, api_server=mocked_server_address)
    if has_ipython and embed is not None:
        if has_ipywidgets:
            if embed == "dropdown":
                assert isinstance(dsh, Callable)
                assert isinstance(dsh(2901623), IPython.display.Image)
            if embed == "slide":
                assert isinstance(dsh, Callable)
        else:
            assert dsh is None
    else:
        assert isinstance(dsh, dict)