Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -23,7 +23,6 @@ from vllm.v1.worker.gpu_model_runner import GPUModelRunner
|
||||
@pytest.fixture
|
||||
def mock_model_runner_with_input_batch():
|
||||
"""Create a mock GPUModelRunner with a real InputBatch for e2e testing."""
|
||||
|
||||
runner = Mock(spec=GPUModelRunner)
|
||||
runner.uses_mrope = False
|
||||
runner.requests = {}
|
||||
|
||||
@@ -23,7 +23,6 @@ from vllm.v1.worker.gpu.states import RequestState
|
||||
@pytest.fixture
|
||||
def mock_model_runner_with_req_states():
|
||||
"""Create a mock MRv2 GPUModelRunner with a real RequestState."""
|
||||
|
||||
runner = Mock(spec=GPUModelRunner)
|
||||
runner.req_states = RequestState(
|
||||
max_num_reqs=10,
|
||||
|
||||
@@ -315,8 +315,7 @@ class TestStreamingScheduler(unittest.TestCase):
|
||||
assert num_new_tokens == 2
|
||||
|
||||
def test_streaming_e2e_lifecycle(self):
|
||||
"""
|
||||
Comprehensive integration test covering complete streaming request lifecycle
|
||||
"""Comprehensive integration test covering complete streaming request lifecycle
|
||||
including scheduler state management and aliasing bug prevention.
|
||||
|
||||
FULL LIFECYCLE:
|
||||
|
||||
Reference in New Issue
Block a user