Skip to content

Commit

Permalink
Check that all tles are not None
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne committed Oct 15, 2024
1 parent 2cd462f commit ca30443
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/satellite_constellations/test_satellites.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ 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)

lengths, n_s = const.check_pointings(
Expand Down

0 comments on commit ca30443

Please sign in to comment.