Mark WilkensXL build versions
Some checks failed
Container Image / build-and-push (push) Has been cancelled
Some checks failed
Container Image / build-and-push (push) Has been cancelled
This commit is contained in:
11
tests/test_version_metadata.py
Normal file
11
tests/test_version_metadata.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Tests for WilkensXL build metadata."""
|
||||
|
||||
from src.constants import APP_VERSION, BUILD_FLAVOR, BUILD_VERSION, FULL_VERSION, UPSTREAM_VERSION
|
||||
|
||||
|
||||
def test_custom_build_version_is_distinct_from_upstream_version():
|
||||
assert APP_VERSION == "1.0.1"
|
||||
assert UPSTREAM_VERSION == APP_VERSION
|
||||
assert BUILD_FLAVOR == "wilkensxl"
|
||||
assert BUILD_VERSION.startswith(f"{APP_VERSION}-wilkensxl.")
|
||||
assert FULL_VERSION == BUILD_VERSION
|
||||
Reference in New Issue
Block a user