cubicweb/test/unittest_rset.py
changeset 12566 6b3523f81f42
parent 12491 540904e0ff0f
parent 12510 7f4411168ed0
child 12567 26744ad37953
--- a/cubicweb/test/unittest_rset.py	Thu Mar 28 11:15:28 2019 +0100
+++ b/cubicweb/test/unittest_rset.py	Fri Apr 05 17:21:14 2019 +0200
@@ -643,8 +643,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: