tests: AddEntityHook tests for e758db3, 56cba14, 82e4bf5.

This commit is contained in:
Brett Smith 2017-12-30 09:49:33 -05:00
parent 73b50097a2
commit 7bdd98075f

View file

@ -18,10 +18,13 @@ def test_load_all():
('Fran Doe-Smith', 'Doe-Smith-Fran'),
('Alex(Nickname) Smith', 'Smith-Alex'),
('稲荷', '稲荷'),
('稲(Jan)荷', '稲荷'),
('Pøweł', 'Powel'),
('Elyse Jan Smith', 'Smith-Elyse-Jan'),
('Jan van Smith', 'van-Smith-Jan'),
('Francis da Silva', 'da-Silva-Francis'),
('A van der B', 'van-der-B-A'),
('A de B de la C', 'de-la-C-A-de-B'),
])
def test_add_entity(payee, expected):
data = {'payee': payee}