diff options
| author | Yuval Adam <_@yuv.al> | 2020-09-23 18:34:32 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2020-09-23 18:34:32 +0300 |
| commit | 71da8e84d06e4ce7a0365db8ace3c6385c7a0bd4 (patch) | |
| tree | 68cf28a20e102106d186a92d22bf5c98e1dd55ce /iss/tests | |
| parent | 0ad888f42523a0a7bd89d65d6df91c490b166c11 (diff) | |
Cleanup code
Diffstat (limited to 'iss/tests')
| -rw-r--r-- | iss/tests/test_predictions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iss/tests/test_predictions.py b/iss/tests/test_predictions.py index daa2bf4..b809885 100644 --- a/iss/tests/test_predictions.py +++ b/iss/tests/test_predictions.py @@ -6,7 +6,7 @@ from ..predictions import Predictions def test_get_timescales(): p = Predictions(lat=32.0853, lng=34.7817, tz="Asia/Jerusalem") days = 5 - t0, t1 = p.get_next_days_timescale(days=days) + t0, t1 = p.get_next_days(days=days) delta = t1.ut1 - t0.ut1 assert delta == days @@ -14,6 +14,6 @@ def test_get_timescales(): def test_get_location(): p = Predictions(lat=32.0853, lng=34.7817) tlv = Topos("32.0853 N", "34.7817 E") - topos = p.get_location_topos() + topos = p.get_location() assert topos.latitude.degrees == tlv.latitude.degrees assert topos.longitude.degrees == tlv.longitude.degrees |
