diff --git a/tests/plugins/docker/test_docker_page.py b/tests/plugins/docker/test_docker_page.py
index ffeabf4..bdaca9c 100644
--- a/tests/plugins/docker/test_docker_page.py
+++ b/tests/plugins/docker/test_docker_page.py
@@ -235,6 +235,6 @@ async def test_busiest_containers_show_the_number_with_its_scale(app):
assert "Busiest: CI: Android · build on VDNT-Docker03" in page and "1.6 of 8 cores" in page
assert ">1.6 cores<" in page and ">0.25 cores<" in page and ">820.0 MiB<" in page
assert "--pct:20.25%" in page and ">—<" in page
- assert page.count("
]", page)) == 4
assert ">CI: Android · build<" in page # the long CI name only as the hover title
assert not hex_colours(page), hex_colours(page)
diff --git a/tests/plugins/traefik/test_traefik_page.py b/tests/plugins/traefik/test_traefik_page.py
index 64e404a..95e6d75 100644
--- a/tests/plugins/traefik/test_traefik_page.py
+++ b/tests/plugins/traefik/test_traefik_page.py
@@ -176,7 +176,7 @@ def test_each_router_gets_the_soonest_certificate_for_its_hosts():
got = certs_by_router(["app@docker", "docs@docker", "plain@docker"],
{"app@docker": ["app.example.com"], "docs@docker": ["docs.example.com"]},
certs, now)
- assert got["app@docker"]["cn"] == "app.example.com" and int(got["app@docker"]["days"]) == 9
+ assert got["app@docker"]["cn"] == "app.example.com" and round(got["app@docker"]["days"]) == 10
assert got["docs@docker"]["cn"] == "*.example.com"
assert "plain@docker" not in got
|