diff --git a/rubin_sim/satellite_constellations/model_observatory.py b/rubin_sim/satellite_constellations/model_observatory.py index 079bc8df..43186f9a 100644 --- a/rubin_sim/satellite_constellations/model_observatory.py +++ b/rubin_sim/satellite_constellations/model_observatory.py @@ -3,7 +3,6 @@ import numpy as np from rubin_scheduler.scheduler.model_observatory import ModelObservatory as oMO from rubin_scheduler.site_models import Almanac - from rubin_scheduler.utils import SURVEY_START_MJD, _healbin # Take the model observatory from the scheduler and diff --git a/rubin_sim/satellite_constellations/sat_utils.py b/rubin_sim/satellite_constellations/sat_utils.py index 65a0b903..2f63c7e6 100644 --- a/rubin_sim/satellite_constellations/sat_utils.py +++ b/rubin_sim/satellite_constellations/sat_utils.py @@ -10,7 +10,6 @@ import numpy as np from astropy import constants as const from astropy import units as u - from rubin_scheduler.utils import SURVEY_START_MJD, Site, gnomonic_project_toxy, point_to_line_distance from shapely.geometry import LineString, Point from skyfield.api import EarthSatellite, load, wgs84 diff --git a/tests/satellite_constellations/test_satellites.py b/tests/satellite_constellations/test_satellites.py index c890f894..6812797c 100644 --- a/tests/satellite_constellations/test_satellites.py +++ b/tests/satellite_constellations/test_satellites.py @@ -12,8 +12,12 @@ def test_constellations(self): mjd0 = SURVEY_START_MJD sv1 = starlink_tles_v1() - _ = starlink_tles_v2() - _ = oneweb_tles() + sv2 = starlink_tles_v2() + onw = oneweb_tles() + + assert sv1 is not None + assert sv2 is not None + assert onw is not None const = Constellation(sv1)