1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Use version which is treated CalVer by AwesomeVersion (#5572)

* Use version which is treated CalVer by AwesomeVersion

The current dev version `99.9.9dev` is treated as unkown version type
by AwesomeVersion. This prevents the version from comparing with
actual Supervisor versions, e.g. from an exsiting backup file.

Make the development version a valid CalVer version so development
versions can handle non-development backups.

* Bump to year 9999
This commit is contained in:
Stefan Agner
2025-01-24 09:59:50 +01:00
committed by GitHub
parent 8e185a8413
commit 690f1c07a7
5 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ async def test_api_info(api_client):
resp = await api_client.get("/info")
result = await resp.json()
assert result["data"]["supervisor"] == "99.9.9dev"
assert result["data"]["supervisor"] == "9999.09.9.dev9999"
assert result["data"]["docker"] == "1.0.0"
assert result["data"]["supported"] is True
assert result["data"]["channel"] == "stable"