[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
|
||||
|
||||
import threading
|
||||
|
||||
import pytest
|
||||
@@ -144,7 +147,7 @@ class TestSpeakerEmbeddingCacheBehavior:
|
||||
|
||||
|
||||
class TestSingleton:
|
||||
def test_singleton_identity(self, fresh_speaker_cache):
|
||||
def test_singleton_identity(self, clean_speaker_cache):
|
||||
a = get_speaker_cache()
|
||||
b = get_speaker_cache()
|
||||
assert a is b
|
||||
Reference in new issue
Block a user