main
py 11 lines 332 Bytes
Raw
1 # SPDX-License-Identifier: Apache-2.0
2 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3
4 import vllm
5
6
7 def test_embedded_commit_defined():
8 assert hasattr(vllm, "__version__")
9 assert hasattr(vllm, "__version_tuple__")
10 assert vllm.__version__ != "dev"
11 assert vllm.__version_tuple__ != (0, 0, "dev")