def test_exception_stamp(mock_fits): alerce = Alerce() with pytest.warns(RuntimeWarning): r = alerce.plot_stamps(oid="ZTF18abjpdlh", candid="570448435315010001") assert r is None
def test_plot_stamp(): alerce = Alerce() with pytest.warns(RuntimeWarning): r = alerce.plot_stamps(oid="ZTF18abjpdlh", candid="570448435315010000") assert r is None