Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci-templates
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
OmegaCEN
ci-templates
Commits
81e7f3ba
Commit
81e7f3ba
authored
2 years ago
by
Teake Nutma
Browse files
Options
Downloads
Patches
Plain Diff
Simplify case_dictionary
parent
9a6b2274
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dockerfiles/ci-tools/report_diff.py
+5
-6
5 additions, 6 deletions
dockerfiles/ci-tools/report_diff.py
with
5 additions
and
6 deletions
dockerfiles/ci-tools/report_diff.py
+
5
−
6
View file @
81e7f3ba
...
...
@@ -6,12 +6,11 @@ from junitparser import JUnitXml, TestSuite
def
case_dictionary
(
report
):
result
=
{}
for
suite
in
report
:
for
case
in
suite
:
key
=
(
case
.
classname
,
case
.
name
)
result
[
key
]
=
case
return
result
return
{
(
case
.
classname
,
case
.
name
):
case
for
suite
in
report
for
case
in
suite
}
def
compare_reports
(
path_before
,
path_after
,
path_out
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment