We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5aa9a commit 1af1e40Copy full SHA for 1af1e40
tests/unit/test_rocket.py
@@ -401,9 +401,10 @@ def test_check_missing_some_components(calisto):
401
def test_check_missing_no_components_missing(calisto_robust):
402
"""Tests the _check_missing_components method for a complete Rocket."""
403
# Call directly — no warnings expected
404
- calisto_robust._check_missing_components()
+ with pytest.warns(None) as record:
405
+ calisto_robust._check_missing_components()
406
# If any warning occurs, pytest will fail automatically
- assert True
407
+ assert len(record) == 0
408
409
410
def test_set_rail_button(calisto):
0 commit comments