From 3ad1589a4c01d00af761a53eafbd3010ce168fb3 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 24 Sep 2020 23:34:59 +0300 Subject: Finalize prediction data structure --- iss/tests/test_predictions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'iss/tests') diff --git a/iss/tests/test_predictions.py b/iss/tests/test_predictions.py index a88674d..9dd5f2b 100644 --- a/iss/tests/test_predictions.py +++ b/iss/tests/test_predictions.py @@ -61,5 +61,7 @@ def test_get_predictions(): ) preds = p.get_predictions() assert len(preds) == 16 - assert preds[0]["culminate"]["ut1"] == 2459117.39787489 - assert preds[0]["rise"]["iso"] == "2020-09-24T21:31:31Z" + assert preds[0]["rise"]["time"] == "2020-09-24T21:31:31Z" + assert preds[0]["rise"]["azimuth"] == 332 + assert preds[0]["culminate"]["degrees"] == 61 + assert preds[0]["set"]["distance"] == 779 -- cgit v1.3.1