Skip to content

Commit 6e16e60

Browse files
committed
TST:update test_check_missing_no_components_missing:import the lib at the top of file
1 parent 192455e commit 6e16e60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/rocket/test_rocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ def test_check_missing_no_components_missing(calisto_robust):
400400
import warnings
401401
# Catch all warnings that occur inside this 'with' block.
402402
with warnings.catch_warnings(record=True) as w:
403-
# Ensure that *all* warnings are captured.
404403
warnings.simplefilter("always")
405404
calisto_robust._check_missing_components()
405+
# For a complete rocket, this method should NOT issue any warnings.
406406
assert len(w) == 0
407407

408408

0 commit comments

Comments
 (0)