From 8a5662c1d2db42e9f7693049aaf3b521899fff68 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 24 Sep 2020 22:41:42 +0300 Subject: Return formats in prediction details --- iss/tests/test_predictions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iss/tests') diff --git a/iss/tests/test_predictions.py b/iss/tests/test_predictions.py index 3fbf12d..b872d60 100644 --- a/iss/tests/test_predictions.py +++ b/iss/tests/test_predictions.py @@ -61,4 +61,5 @@ def test_get_predictions(): ) preds = p.get_predictions() assert len(preds) == 16 - assert preds[0]["culminate"].ut1 == 2459117.39787489 + assert preds[0]["culminate"]["ut1"] == 2459117.39787489 + assert preds[0]["rise"]["iso"] == "2020-09-24T21:31:31Z" -- cgit v1.3.1