test_embedded_commit.py 206 Bytes
Newer Older
1
2
3
4
5
6
7
import vllm


def test_embedded_commit_defined():
    assert vllm.__commit__ != "COMMIT_HASH_PLACEHOLDER"
    # 7 characters is the length of a short commit hash
    assert len(vllm.__commit__) >= 7