diff --git a/tests/plugins/docker/test_overview.py b/tests/plugins/docker/test_overview.py index a36b859..09dd195 100644 --- a/tests/plugins/docker/test_overview.py +++ b/tests/plugins/docker/test_overview.py @@ -274,7 +274,8 @@ async def _container_page(app, c, **over): ctx = dict(container=c, host=NS(id="h1", name="nas"), host_id="h1", name=c.name, label=c.name, node_name=None, exit_failed=True, ports=[], uptime=None, usage={"mem_limit": None}, net_rx="1.0 KiB", net_tx="2.0 KiB", blk_read="3.0 MiB", - blk_write="4.0 MiB", died_at=NOW - timedelta(minutes=20), current_range="24h", + blk_write="4.0 MiB", current_range="24h", + died_at=datetime.now(timezone.utc) - timedelta(minutes=20), # |ago reads the clock events=[{"event": "health_change", "detail": "healthy→unhealthy", "at": NOW, "glyph": "◐", "tone": "warn"}]) ctx.update(over)