Fixes in tests
This commit is contained in:
parent
c85fed0df1
commit
61009383fe
5 changed files with 2 additions and 387 deletions
|
|
@ -74,7 +74,7 @@ def test_test_foreignkeyfield():
|
|||
|
||||
field=corefields.ForeignKeyField('foreign', ExampleModel())
|
||||
|
||||
assert field.check('dsd')=='NULL'
|
||||
assert field.check('dsd')==None
|
||||
|
||||
def test_test_booleanfield():
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ def test_test_datetimefield():
|
|||
|
||||
assert field.check('20201230121011')=='2020-12-30 12:10:11'
|
||||
|
||||
assert field.check('20201290121011')==''
|
||||
assert field.check('20201290121011')=='0000-00-00 00:00:00'
|
||||
|
||||
def test_test_dictfield():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue