add type assertion to test
This commit is contained in:
parent
9bea4e76c5
commit
b0f0e3b16d
|
@ -473,6 +473,7 @@ class TestSessionReports:
|
||||||
assert not rep.skipped
|
assert not rep.skipped
|
||||||
assert rep.passed
|
assert rep.passed
|
||||||
locinfo = rep.location
|
locinfo = rep.location
|
||||||
|
assert locinfo is not None
|
||||||
assert locinfo[0] == col.path.name
|
assert locinfo[0] == col.path.name
|
||||||
assert not locinfo[1]
|
assert not locinfo[1]
|
||||||
assert locinfo[2] == col.path.name
|
assert locinfo[2] == col.path.name
|
||||||
|
|
Loading…
Reference in New Issue