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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user