- Added evaluator tests to orm/alltests.py
=====
- orm
+ - Fixed the evaluator not being able to evaluate IS NULL clauses.
+
- Fixed the "set collection" function on "dynamic" relations to
initiate events correctly. Previously a collection could only
be assigned to a pending parent instance, otherwise modified
if operator is operators.is_:
def evaluate(obj):
return eval_left(obj) == eval_right(obj)
- if operator is operators.isnot:
+ elif operator is operators.isnot:
def evaluate(obj):
return eval_left(obj) != eval_right(obj)
elif operator in _straight_ops:
'orm.onetoone',
'orm.dynamic',
+ 'orm.evaluator',
+
'orm.deprecations',
)
alltests = unittest.TestSuite()