Permalink
Browse files

Fix tests for UUIDValidator

  • Loading branch information...
moschlar committed Aug 27, 2013
1 parent 5896d4d commit bfc4531ecfb55a18a13827ad893469623f1b2aa1
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/test_validation.py
@@ -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
@@ -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):

0 comments on commit bfc4531

Please sign in to comment.