chore(keyringctl): add test for simplify_ascii

This commit is contained in:
Levente Polyak
2021-11-09 20:04:22 +01:00
parent 83a345a1b8
commit e8fb9d17b3
2 changed files with 15 additions and 2 deletions

View File

@ -292,8 +292,6 @@ ascii_mapping: Dict[str, str] = {
ascii_mapping_lookup: Dict[str, str] = {}
for key, value in ascii_mapping.items():
for c in key:
if c in ascii_mapping_lookup:
raise Exception(f"duplicate ascii mapping: {c}")
ascii_mapping_lookup[c] = value
ascii_mapping_lookup[c.upper()] = value.upper()