genbadge/xunitparser_copy.py
6
S101:
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
169
assert
len
(
tr
.
errors
)
==
int
(
root
.
attrib
[
'errors'
])
171
assert
len
(
tr
.
failures
)
==
int
(
root
.
attrib
[
'failures'
])
173
assert
len
(
tr
.
skipped
)
==
int
(
root
.
attrib
[
'skip'
])
175
assert
len
(
list
(
ts
))
==
int
(
root
.
attrib
[
'tests'
])
180
assert
root
.
tag
==
'testsuite'
224
assert
e
.
attrib
[
'name'
]
not
in
ts
.
properties