cubicweb-container #3567603 wrong calls to assertRaises method [resolved]

In test2/unittest_security.py, self.assertRaises(cnx.commit) does not check anything apparently. The method should be used as a context manager.

prioritynormal
typebug
done in2.4.0
load0.100
load left0.000
closed by#2b4d1c139ff9 Fix call to assertRaises in unittest_security, #3239f354f2dd Fix call to assertRaises in unittest_security
patchFix call to assertRaises in unittest_security [applied]Fix call to assertRaises in unittest_security [applied]