Commit 08e87063 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[fix] exception type has changed

branch : 3.26
parent c81e29cd8cff
......@@ -571,8 +571,8 @@ class ResultSetTC(CubicWebTC):
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')
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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment