pytest_cases/plugin.py
1
E501:
line too long (134 > 120 characters)
31
from
.common_pytest_marks
import
PYTEST35_OR_GREATER
,
PYTEST46_OR_GREATER
,
PYTEST37_OR_GREATER
,
PYTEST7_OR_GREATER
,
PYTEST8_OR_GREATER
11
T001:
print found.
819
print
(
"Creating closure for
%s
:"
%
parentid
)
866
print
(
"Closure for
%s
completed:"
%
parentid
)
867
print
(
closure_tree
)
868
print
(
super_closure
)
989
print
(
"
\n
"
.
join
([
str
(
p
)
for
p
in
self
.
_pending
]))
1036
print
(
"
\n
---- pending parametrization ----"
)
1038
print
(
"---------------------------------
\n
"
)
1039
print
(
"Applying all of them in the closure tree nodes:"
)
1053
print
(
"
\n
"
.
join
([
"
%s
[
%s
]: funcargs=
%s
, params=
%s
"
%
(
get_pytest_nodeid
(
self
.
metafunc
),
1367
print
(
"[Node
%s
] Applying parametrization for NORMAL
%s
"
1394
print
(
"[Node
%s
] Applying parametrization for UNION
%s
"
7
S101:
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
136
assert
isinstance
(
fixture_defs_mgr
,
FixtureDefsCache
)
785
assert
set
(
super_closure
)
==
set
(
ref_fixturenames
)
786
assert
dict
(
arg2fixturedefs
)
==
ref_arg2fixturedefs
1023
assert
self
.
metafunc
.
_calls
is
self
1043
assert
isinstance
(
super_closure
,
SuperClosure
)
1142
assert
len
(
c_with_dummy
)
==
1
1540
assert
i
==
len
(
items
)