vdirsyncer/tests/cli/test_utils.py
Markus Unterwaditzer 768cebe0e1 Fix coerce_native
See #344
2016-02-28 19:08:18 +01:00

26 lines
401 B
Python

from hypothesis import given
from hypothesis.strategies import (
binary,
booleans,
complex_numbers,
floats,
integers,
none,
one_of,
text
)
from vdirsyncer.cli.utils import coerce_native
@given(one_of(
binary(),
booleans(),
complex_numbers(),
floats(),
integers(),
none(),
text()
))
def test_coerce_native_fuzzing(s):
coerce_native(s)