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