summaryrefslogtreecommitdiff
path: root/iss/tests
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2020-09-23 18:34:32 +0300
committerYuval Adam <_@yuv.al>2020-09-23 18:34:32 +0300
commit71da8e84d06e4ce7a0365db8ace3c6385c7a0bd4 (patch)
tree68cf28a20e102106d186a92d22bf5c98e1dd55ce /iss/tests
parent0ad888f42523a0a7bd89d65d6df91c490b166c11 (diff)
Cleanup code
Diffstat (limited to 'iss/tests')
-rw-r--r--iss/tests/test_predictions.py4
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