From 42a4c1ce4ca236fa2fa3680a7d79a5627df3c8f2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 11 Mar 2016 07:26:16 +0100 Subject: [PATCH] Also test transform in test_configtypes_hypothesis If validating works, we might as well also check if transforming does too. --- tests/unit/config/test_configtypes_hypothesis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/config/test_configtypes_hypothesis.py b/tests/unit/config/test_configtypes_hypothesis.py index a7ab043ef..fe7807c4a 100644 --- a/tests/unit/config/test_configtypes_hypothesis.py +++ b/tests/unit/config/test_configtypes_hypothesis.py @@ -56,3 +56,5 @@ def test_configtypes_hypothesis(klass, s): klass().validate(s) except configexc.ValidationError: pass + else: + klass().transform(s)