Dict field with equal operator fails on sqlite database
The following tests fails on sqlite:
@with_transaction()
def test_search_dict_equal(self):
"Test search dict equals"
pool = Pool()
Dict = pool.get('test.dict_noschema')
dict_, = Dict.create([{
'dico': {'a': 'Foo'},
}])
dicts_foo = Dict.search([
('dico', '=', {'a': 'Foo'}),
])
self.assertListEqual(dicts_foo, [dict_])
It works as expected on PostgreSQL.