Remove removed SensorDeviceClass.PERCENTAGE

This commit is contained in:
2026-09-21 10:02:08 -04:00
parent b6b1ba65b4
commit 418fc69f36
3 changed files with 4 additions and 6 deletions
+3 -3
View File
@@ -58,19 +58,19 @@ def test_manifest_requirements(manifest: dict) -> None:
def test_manifest_documentation_url_is_public_github_mirror(manifest: dict) -> None:
"""Verify documentation URL points at the public GitHub mirror."""
assert manifest.get("documentation") == "https://github.com/talon2king/NestQuest"
assert manifest.get("documentation") == "https://github.com/Maniacs-Mansion/NestQuest"
def test_manifest_issue_tracker_url_is_public_github_mirror(manifest: dict) -> None:
"""Verify issue_tracker URL points at the public GitHub mirror."""
assert manifest.get("issue_tracker") == "https://github.com/talon2king/NestQuest/issues"
assert manifest.get("issue_tracker") == "https://github.com/Maniacs-Mansion/NestQuest/issues"
@pytest.mark.parametrize("key", ["documentation", "issue_tracker"])
def test_manifest_urls_use_github_com(manifest: dict, key: str) -> None:
"""Verify manifest URLs use github.com rather than the private Gitea host."""
url = manifest.get(key, "")
assert url.startswith("https://github.com/talon2king/NestQuest")
assert url.startswith("https://github.com/Maniacs-Mansion/NestQuest")
assert "cubecraftlabs" not in url