From 7bdd98075f82ffdd238f9573a87e9f43f3206872 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Sat, 30 Dec 2017 09:49:33 -0500 Subject: [PATCH] tests: AddEntityHook tests for e758db3, 56cba14, 82e4bf5. --- tests/test_hooks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_hooks.py b/tests/test_hooks.py index 63be848..7748a8c 100644 --- a/tests/test_hooks.py +++ b/tests/test_hooks.py @@ -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}