12 lines
433 B
Python
12 lines
433 B
Python
"""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
|