cubicweb/test/unittest_rset.py
branch3.26
changeset 12510 7f4411168ed0
parent 12421 e460eac6e648
child 12566 6b3523f81f42
--- 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: