From 93d81779326f1f6c4d6fd2747d03323eaf22d13b Mon Sep 17 00:00:00 2001 From: "Christian T. Jacobs" Date: Thu, 6 Jul 2017 21:23:45 +0100 Subject: [PATCH] "iota" not "grid". --- tests/test_callsign_lookup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_callsign_lookup.py b/tests/test_callsign_lookup.py index 5899c4d..47420c6 100644 --- a/tests/test_callsign_lookup.py +++ b/tests/test_callsign_lookup.py @@ -110,7 +110,7 @@ class TestCallsignLookup(unittest.TestCase): connection = http_client.HTTPSConnection() response = http_client.HTTPResponse() - response.read.return_value = b'\n\n\nMYCALL\nNAME\nCOUNTRY\nITU\nCQ\nGRID\nADDRESS\n\n\n' + response.read.return_value = b'\n\n\nMYCALL\nNAME\nCOUNTRY\nITU\nCQ\nIOTA\nADDRESS\n\n\n' connection.getresponse.return_value = response self.hamqth.connection = connection @@ -121,7 +121,7 @@ class TestCallsignLookup(unittest.TestCase): assert(fields_and_data["COUNTRY"] == "COUNTRY") assert(fields_and_data["CQZ"] == "CQ") assert(fields_and_data["ITUZ"] == "ITU") - assert(fields_and_data["IOTA"] == "GRID") + assert(fields_and_data["IOTA"] == "IOTA") if(__name__ == '__main__'): unittest.main()