Hypothesis: Blacklist surrogates

This commit is contained in:
Markus Unterwaditzer 2016-03-06 22:50:55 +01:00
parent 23ea0e203f
commit 75a9987ec2
2 changed files with 4 additions and 2 deletions

View file

@ -70,5 +70,7 @@ HAHA:YES
END:FOO'''
printable_characters_strategy = st.text(
st.characters(blacklist_categories=('Cc',))
st.characters(blacklist_categories=(
'Cc', 'Cs'
))
)

View file

@ -12,7 +12,7 @@ from vdirsyncer.utils.vobject import Item
uid_strategy = st.text(st.characters(blacklist_categories=(
'Zs', 'Zl', 'Zp',
'Cc'
'Cc', 'Cs'
)))