Skip to content

Commit

Permalink
test cleanup methods a tiny bit
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Sep 29, 2023
1 parent 367711d commit 48ad1fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_cleanup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from fingerprints import clean_name_ascii, clean_name_light


def test_clean_name_ascii():
assert clean_name_ascii("Владимир Путин") == "vladimir putin"
assert clean_name_ascii("Владимир Пути'н") == "vladimir putin"


def test_clean_name_light():
assert clean_name_light("Vladimir Putin") == "vladimir putin"
assert clean_name_light("C.I.A.") == "cia"

0 comments on commit 48ad1fb

Please sign in to comment.