def test_launch(self, ovshell: testing.OpenVarioShellStub) -> None: # GIVEN app = setupapp.SetupApp(ovshell, "test") # WHEN app.launch() # THEN act = ovshell.screen.stub_top_activity() assert isinstance(act, setupapp.SetupActivity)
def list_apps(self) -> Sequence[api.App]: return [ upgradeapp.SystemUpgradeApp(self.shell), setupapp.SetupApp(self.shell, self.id), aboutapp.AboutApp(self.shell), ]