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
cubes
jsonschema
Commits
a5e325f658d8
Commit
9fd09592
authored
Dec 02, 2020
by
Katia Saurfelt
Browse files
chore(test): fix a DeprecationWarning
--HG-- branch : 0.1
parent
c4683a270dba
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_mappers.py
View file @
a5e325f6
...
...
@@ -264,7 +264,7 @@ class CompoundMapperTC(CubicWebTC):
relations
=
(
'flash'
,
)
expected_regexp
=
'duplicate relation mapping for "Photo": flash'
with
self
.
assertRaisesRegex
p
(
ValueError
,
expected_regexp
):
with
self
.
assertRaisesRegex
(
ValueError
,
expected_regexp
):
bad_compound
.
__registered__
(
self
.
vreg
[
'mappers'
])
def
test_mapped_attributes_hidden
(
self
):
...
...
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