Skip to content

Commit

Permalink
test: fix legacy unit test for get_ephemerides
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Deuchnord committed Mar 27, 2021
1 parent 958b841 commit e59daaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ephemerides.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_moon_phase_prediction(self):

def test_get_ephemerides_raises_exception_on_out_of_date_range(self):
with self.assertRaises(OutOfRangeDateError):
ephemerides.get_ephemerides(date(1789, 5, 5), Position(0, 0, EARTH))
ephemerides.get_ephemerides(Position(0, 0, EARTH), date(1789, 5, 5))

def test_get_moon_phase_raises_exception_on_out_of_date_range(self):
with self.assertRaises(OutOfRangeDateError):
Expand Down

0 comments on commit e59daaf

Please sign in to comment.