Sfoglia il codice sorgente

test: fix legacy unit test for get_ephemerides

tags/v0.10.0
Jérôme Deuchnord 3 anni fa
parent
commit
e59daafada
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      tests/ephemerides.py

+ 1
- 1
tests/ephemerides.py Vedi File

@@ -114,7 +114,7 @@ class EphemeridesTestCase(unittest.TestCase):

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):


Caricamento…
Annulla
Salva