Re: [pylons-discuss] Testing Pyramid Traversal App with ZODB

2019-02-24 Thread Thierry Florac
Hi, Don't know for the testing environment... But why don't you use PersistentList / PersistentMapping classes instead of classis list/dict for your inner properties? Regards, Thierry -- https://www.ulthar.net -- http://pyams.readthedocs.io Le dim. 24 févr. 2019 à 08:49, Gerhard Schmidt a

[pylons-discuss] Testing Pyramid Traversal App with ZODB

2019-02-23 Thread Gerhard Schmidt
Hi, I'm writing a pyramid app using traversal and ZODB. Right now i writing unit tests and try to test if the _p_changed attribute is set after a method that changes a persistent object. The problem is that _p_changed is always False when running in the testrunner. Even after I do