diff options
| author | Yuval Adam <_@yuv.al> | 2020-09-24 22:53:08 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2020-09-24 22:53:08 +0300 |
| commit | fcb862b5f56094504746ca75820f19d978ea08dc (patch) | |
| tree | 91933a32636eab6bded60366fd12b9b53fcd706d /iss/tests | |
| parent | 8a5662c1d2db42e9f7693049aaf3b521899fff68 (diff) | |
Refactor inits
Diffstat (limited to 'iss/tests')
| -rw-r--r-- | iss/tests/test_predictions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iss/tests/test_predictions.py b/iss/tests/test_predictions.py index b872d60..a88674d 100644 --- a/iss/tests/test_predictions.py +++ b/iss/tests/test_predictions.py @@ -25,9 +25,9 @@ def test_custom_start(): def test_get_location(): p = Predictions(lat=32.0853, lng=34.7817) tlv = Topos("32.0853 N", "34.7817 E") - topos = p.get_location() - assert topos.latitude.degrees == tlv.latitude.degrees - assert topos.longitude.degrees == tlv.longitude.degrees + location = p.location + assert location.latitude.degrees == tlv.latitude.degrees + assert location.longitude.degrees == tlv.longitude.degrees def test_get_prediction_events(): |
