diff options
| author | Yuval Adam <_@yuv.al> | 2020-09-24 23:34:59 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2020-09-24 23:34:59 +0300 |
| commit | 3ad1589a4c01d00af761a53eafbd3010ce168fb3 (patch) | |
| tree | a8b999989879bab5886c1aec80453476c547b632 /iss/tests | |
| parent | fcb862b5f56094504746ca75820f19d978ea08dc (diff) | |
Finalize prediction data structure
Diffstat (limited to 'iss/tests')
| -rw-r--r-- | iss/tests/test_predictions.py | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
