Decommission Homepage dashboard and update history hooks

This commit is contained in:
rope 2026-09-14 15:07:40 +01:00
parent 7145a35927
commit 02382f8446
10 changed files with 3 additions and 359 deletions

View file

@ -98,20 +98,7 @@ class Fixture(m.Deployment):
self.healthy()
def deploy(self, ident="a" * 32, flake="fixture", reboot=False):
with patch.object(
Path,
"exists",
autospec=True,
side_effect=lambda p: (
False
if str(p) == "/run/current-system/sw/bin/record-update"
else original_exists(p)
),
):
super().deploy(ident, flake, reboot)
original_exists = Path.exists
super().deploy(ident, flake, reboot)
class Transactions(unittest.TestCase):