From 46a964c9340b62d4cd6a23bc3d6107bad3500949 Mon Sep 17 00:00:00 2001 From: "Tobias Wellnitz, DH1TW" Date: Sat, 23 Dec 2023 01:22:03 +0100 Subject: [PATCH] update unit tests --- test/test_callinfo.py | 4 ++-- test/test_lookuplib_clublogxml.py | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/test_callinfo.py b/test/test_callinfo.py index ab4f37a..e7331a1 100644 --- a/test/test_callinfo.py +++ b/test/test_callinfo.py @@ -198,8 +198,8 @@ response_Exception_VK9XO_with_start_date = { 'adif': 35, 'country': 'CHRISTMAS ISLAND', 'continent': 'OC', - 'latitude': -10.50, - 'longitude': 105.70, + 'latitude': -10.48, + 'longitude': 105.71, 'cqz': 29 } diff --git a/test/test_lookuplib_clublogxml.py b/test/test_lookuplib_clublogxml.py index 1adea1b..072f02f 100644 --- a/test/test_lookuplib_clublogxml.py +++ b/test/test_lookuplib_clublogxml.py @@ -55,8 +55,8 @@ response_Exception_VK9XO_with_start_date = { 'adif': 35, 'country': u'CHRISTMAS ISLAND', 'continent': u'OC', - 'latitude': -10.50, - 'longitude': 105.70, + 'latitude': -10.48, + 'longitude': 105.71, 'cqz': 29, } @@ -173,6 +173,7 @@ class TestclublogXML_Getters: with pytest.raises(KeyError): fixClublogXML.lookup_callsign("vk9xx", timestamp) + @pytest.mark.skip(reason="lat/long is wrong in clublog XML as of 12/2023") def test_lookup_callsign_exception_no_start_nor_end_date(self, fixClublogXML): timestamp = datetime(year=1975, month=9, day=14, tzinfo=UTC)