Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
7f4411168ed0
Commit
08e87063
authored
Mar 14, 2019
by
Laurent Peuch
Browse files
[fix] exception type has changed
--HG-- branch : 3.26
parent
c81e29cd8cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/test/unittest_rset.py
View file @
7f441116
...
...
@@ -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'
)
rset
.
possible_actions
(
argument
=
'Value'
)
self
.
assertRaises
(
Assertion
Error
,
rset
.
possible_actions
,
argument
=
'OtherValue'
)
self
.
assertRaises
(
Assertion
Error
,
rset
.
possible_actions
,
other_argument
=
'Value'
)
self
.
assertRaises
(
Value
Error
,
rset
.
possible_actions
,
argument
=
'OtherValue'
)
self
.
assertRaises
(
Value
Error
,
rset
.
possible_actions
,
other_argument
=
'Value'
)
def
test_count_users_by_date
(
self
):
with
self
.
admin_access
.
web_request
()
as
req
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment