test_embedded_commit.py 214 B

1234567
  1. import aphrodite
  2. def test_embedded_commit_defined():
  3. assert aphrodite.__commit__ != "COMMIT_HASH_PLACEHOLDER"
  4. # 7 characters is the length of a short commit hash
  5. assert len(aphrodite.__commit__) >= 7