fix: fail fleet tests instead of skip when RLN is not working

This commit is contained in:
Roman 2026-05-06 12:52:00 +08:00
parent c4358e7d04
commit e0575f6350
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E

View File

@ -142,7 +142,7 @@ def skip_fleet_test_without_rln(request, fleet_rln_state):
if not request.node.get_closest_marker("waku_test_fleet"):
return
if not fleet_rln_state.get("keystore_prefixes"):
pytest.skip("Skipping fleet test: RLN keystore not available " "(RLN_CREDENTIALS not set or on-chain registration failed)")
pytest.fail("Failing fleet tests: RLN keystore not available " "(RLN_CREDENTIALS not set or on-chain registration failed)")
@pytest.fixture(scope="session", autouse=True)