# HG changeset patch # User Laurent Peuch # Date 1552576166 -3600 # Node ID 7f4411168ed0ce5c406f18bd24b1d405543cd6da # Parent c81e29cd8cff3edee44a8a58d925c31dc6ed6e6d [fix] exception type has changed diff -r c81e29cd8cff -r 7f4411168ed0 cubicweb/test/unittest_rset.py --- a/cubicweb/test/unittest_rset.py Thu Mar 14 09:38:20 2019 +0100 +++ b/cubicweb/test/unittest_rset.py Thu Mar 14 16:09:26 2019 +0100 @@ -571,8 +571,8 @@ with self.admin_access.web_request() as req: rset = req.execute('Any D, COUNT(U) GROUPBY D WHERE U is CWUser, U creation_date D') rset.possible_actions(argument='Value') - self.assertRaises(AssertionError, rset.possible_actions, argument='OtherValue') - self.assertRaises(AssertionError, rset.possible_actions, other_argument='Value') + self.assertRaises(ValueError, rset.possible_actions, argument='OtherValue') + self.assertRaises(ValueError, rset.possible_actions, other_argument='Value') def test_count_users_by_date(self): with self.admin_access.web_request() as req: