Fix test_default_usertype
This commit is contained in:
@@ -21,7 +21,7 @@ class TestTypes(unittest.TestCase):
|
||||
|
||||
My = MyType()
|
||||
|
||||
assert My.validate('a') is None
|
||||
assert My.validate('a') == 'a'
|
||||
assert My.tobasetype('a') == 'a'
|
||||
assert My.frombasetype('a') == 'a'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user