Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
dc5fd831
Unverified
Commit
dc5fd831
authored
Oct 13, 2022
by
Philip Meier
Committed by
GitHub
Oct 13, 2022
Browse files
improve test id for consistency tests (#6763)
parent
e1b21f9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test/test_prototype_transforms_consistency.py
test/test_prototype_transforms_consistency.py
+4
-2
No files found.
test/test_prototype_transforms_consistency.py
View file @
dc5fd831
...
@@ -575,9 +575,11 @@ def check_call_consistency(prototype_transform, legacy_transform, images=None, s
...
@@ -575,9 +575,11 @@ def check_call_consistency(prototype_transform, legacy_transform, images=None, s
@
pytest
.
mark
.
parametrize
(
@
pytest
.
mark
.
parametrize
(
(
"config"
,
"args_kwargs"
),
(
"config"
,
"args_kwargs"
),
[
[
pytest
.
param
(
config
,
args_kwargs
,
id
=
f
"
{
config
.
legacy_cls
.
__name__
}
(
{
args_kwargs
}
)"
)
pytest
.
param
(
config
,
args_kwargs
,
id
=
f
"
{
config
.
legacy_cls
.
__name__
}
-
{
idx
:
0
{
len
(
str
(
len
(
config
.
args_kwargs
)))
}
d
}
"
)
for
config
in
CONSISTENCY_CONFIGS
for
config
in
CONSISTENCY_CONFIGS
for
args_kwargs
in
config
.
args_kwargs
for
idx
,
args_kwargs
in
enumerate
(
config
.
args_kwargs
)
],
],
)
)
def
test_call_consistency
(
config
,
args_kwargs
):
def
test_call_consistency
(
config
,
args_kwargs
):
...
...
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