From 75a9987ec2f4ce55283bae5f72daec2a9a1a1022 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 6 Mar 2016 22:50:55 +0100 Subject: [PATCH] Hypothesis: Blacklist surrogates --- tests/__init__.py | 4 +++- tests/cli/test_repair.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 709e373..489096d 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -70,5 +70,7 @@ HAHA:YES END:FOO''' printable_characters_strategy = st.text( - st.characters(blacklist_categories=('Cc',)) + st.characters(blacklist_categories=( + 'Cc', 'Cs' + )) ) diff --git a/tests/cli/test_repair.py b/tests/cli/test_repair.py index f550ea3..715049a 100644 --- a/tests/cli/test_repair.py +++ b/tests/cli/test_repair.py @@ -12,7 +12,7 @@ from vdirsyncer.utils.vobject import Item uid_strategy = st.text(st.characters(blacklist_categories=( 'Zs', 'Zl', 'Zp', - 'Cc' + 'Cc', 'Cs' )))