mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-06 15:04:33 +00:00
rais KeyError when callsign contains non latin characters
for example, cyrillic letter
This commit is contained in:
parent
bfbd0776bb
commit
077b645efe
2 changed files with 13 additions and 1 deletions
|
|
@ -265,6 +265,15 @@ class Test_callinfo_methods:
|
|||
fix_callinfo._dismantle_callsign("OZ/JO85")
|
||||
|
||||
|
||||
def test_dismantle_callsign_with_cyrillic_characters(self, fix_callinfo):
|
||||
|
||||
with pytest.raises(KeyError):
|
||||
fix_callinfo._dismantle_callsign("RД3MAS") #cyrillic letter 'Д' in call
|
||||
with pytest.raises(KeyError):
|
||||
fix_callinfo._dismantle_callsign("RД3/K9MAS") #cyrillic letter 'Д' in prefix
|
||||
with pytest.raises(KeyError):
|
||||
fix_callinfo._dismantle_callsign("R2EA/М") #cyrillic letter 'M' in appendix
|
||||
|
||||
def test_dismantle_callsign_with_VK9_special_suffixes(self, fix_callinfo):
|
||||
|
||||
if fix_callinfo._lookuplib._lookuptype == "clublog":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue