[Test] Cleanup for helpers (#6523)
Signed-off-by: wangyu <410167048@qq.com> Signed-off-by: [Your Name] <your.email@example.com> Co-authored-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
1 parent
8360346a66
commit
4af0ddc1c2
140 files changed
+4121
-4194
No files matched your search
@@ -1,3 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
"""Integration tests for the process-wide speaker cache across serving + models."""
|
||||
|
||||
import pytest
|
||||
@@ -26,7 +29,7 @@ class TestSpeakerCacheIntegration:
|
||||
assert cache.get(fish_key) is None
|
||||
assert cache.get(bob_key) is not None
|
||||
|
||||
def test_singleton_shared_across_call_sites(self, fresh_speaker_cache):
|
||||
def test_singleton_shared_across_call_sites(self, clean_speaker_cache):
|
||||
cache_a = get_speaker_cache()
|
||||
cache_b = get_speaker_cache()
|
||||
assert cache_a is cache_b
|
||||
|
||||
Reference in new issue
Block a user