async def METHOD_NAME(api_system, coresys: CoreSys):
    """Test security."""
    coresys.core.state = CoreState.SETUP
    resp = await api_system.get("/supervisor/ping")
    result = await resp.json()
    assert resp.status == 400
    assert result["result"] == "error"