mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-17 18:17:52 +00:00
12 lines
334 B
Python
12 lines
334 B
Python
import importlib
|
|
|
|
|
|
def test_fastuuid_flag_exposed():
|
|
mod = importlib.import_module("litellm._uuid")
|
|
assert hasattr(mod, "FASTUUID_AVAILABLE")
|
|
assert hasattr(mod, "uuid4")
|
|
# Ensure uuid4 returns something that looks like a UUID string
|
|
val = str(mod.uuid4())
|
|
assert isinstance(val, str)
|
|
assert len(val) >= 8
|