summaryrefslogtreecommitdiff
path: root/iss/tests
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2020-09-24 22:41:42 +0300
committerYuval Adam <_@yuv.al>2020-09-24 22:41:42 +0300
commit8a5662c1d2db42e9f7693049aaf3b521899fff68 (patch)
tree1b6f32a034134714b5b168134e9c869139fc281c /iss/tests
parentff8aeca0330b5d90a36c37eb62ece2d8b020f307 (diff)
Return formats in prediction details
Diffstat (limited to 'iss/tests')
-rw-r--r--iss/tests/test_predictions.py3
1 files changed, 2 insertions, 1 deletions
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"