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
e42c2226c878
Commit
fca3baeb
authored
Feb 13, 2015
by
Julien Cristau
Browse files
[web/test] fix cubicweb 3.19 deprecation warning
parent
8eb9a3e9531c
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/test/unittest_views_basecontrollers.py
View file @
e42c2226
...
...
@@ -548,7 +548,7 @@ class EditControllerTC(CubicWebTC):
self
.
assertIn
(
'_cwmsgid'
,
params
)
eid
=
req
.
create_entity
(
'EmailAddress'
,
address
=
u
'hop@logilab.fr'
).
eid
req
.
execute
(
'SET X use_email E WHERE E eid %(e)s, X eid %(x)s'
,
{
'x'
:
self
.
session
.
user
.
eid
,
'e'
:
eid
})
{
'x'
:
req
.
user
.
eid
,
'e'
:
eid
})
req
.
cnx
.
commit
()
req
.
form
=
{
'eid'
:
unicode
(
eid
),
'__type:%s'
%
eid
:
'EmailAddress'
,
'__action_delete'
:
''
}
...
...
Write
Preview
Markdown
is supported
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