Skip to content

Commit

Permalink
Fix tests for UUIDValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
moschlar committed Aug 27, 2013
1 parent 5896d4d commit bfc4531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_validation.py
Expand Up @@ -12,6 +12,7 @@
import six
from six.moves import map
from six.moves import zip
import uuid

HAS_SKIP = sys.version_info[0] == 2 and sys.version_info[1] == 7

Expand Down Expand Up @@ -514,7 +515,7 @@ class TestUUIDValidator(tb.ValidatorTest):
validator = UUIDValidator
attrs = [{}, {}]
params = ['34a9c4dd-1562-4413-bb27-a439292a5e61', 'asdf']
expected = [None, ValidationError]
expected = [uuid.UUID('34a9c4dd-1562-4413-bb27-a439292a5e61'), ValidationError]


class TestValidatorMisc(TestCase):
Expand Down

0 comments on commit bfc4531

Please sign in to comment.