Decommission Homepage dashboard and update history hooks
This commit is contained in:
parent
7145a35927
commit
02382f8446
10 changed files with 3 additions and 359 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue