1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-24 20:35:31 +00:00

Add test suite for Supervisor tests (#2880)

* Add test suite for Supervisor tests

* test_supervisor_is_updated should depend on test_update_supervisor

Co-authored-by: Stefan Agner <stefan@agner.ch>

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Jan Čermák
2023-10-31 10:12:10 +01:00
committed by GitHub
parent e1be4f3efb
commit 39778e882a
7 changed files with 243 additions and 17 deletions

View File

@@ -44,6 +44,7 @@ class QEMUShellStrategy(Strategy):
elif status == Status.off:
self.target.activate(self.qemu)
self.qemu.off()
self.target.deactivate(self.shell)
elif status == Status.shell:
self.target.activate(self.qemu)
self.qemu.on()